Skip to content

Commit

Permalink
Change go releaser binary name
Browse files Browse the repository at this point in the history
Signed-off-by: Steve Coffman <[email protected]>
  • Loading branch information
StevenACoffman committed Aug 22, 2021
1 parent f3adda8 commit b2b8b0f
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ builds:
- linux
- windows
- darwin
binary: jt
archives:
- replacements:
darwin: Darwin
Expand Down Expand Up @@ -53,3 +54,9 @@ brews:
# SPDX identifier of your app's license.
# Default is empty.
license: "MIT"

# Custom install script for brew.
# Default is 'bin.install "program"'.
install: |
bin.install "jt"
...
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,8 @@ Shared Flags:
### tips
Use "jt [command] --help" for more information about a command.

### installation
```
brew
```

2 changes: 1 addition & 1 deletion magefile.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ func Release(tag string) (err error) {
sh.RunV("git", "push", "--delete", "origin", "$TAG")
}
}()
return sh.RunV("goreleaser")
return sh.RunV("goreleaser", "--rm-dist")
}


Expand Down

0 comments on commit b2b8b0f

Please sign in to comment.