Skip to content

Commit

Permalink
Upgrade goreleaser to latest
Browse files Browse the repository at this point in the history
  • Loading branch information
rliebz committed Jun 30, 2019
1 parent c08cb35 commit b5a0242
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 33 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Expand Up @@ -39,7 +39,7 @@ defaults:
name: Run goreleaser
command: |
# Pin goreleaser version
VERSION=v0.62.3 tusk --quiet release ${RELEASE_FLAGS}
VERSION=v0.111.0 tusk --quiet release ${RELEASE_FLAGS}
publish_docs: &publish_docs
name: Run mkdocs
Expand Down
67 changes: 35 additions & 32 deletions .goreleaser.yml
@@ -1,5 +1,8 @@
---
project_name: tusk
before:
hooks:
- go mod download
builds:
- main: .
binary: tusk
Expand All @@ -18,18 +21,18 @@ builds:
ignore:
- goos: darwin
goarch: 386
archive:
name_template: '{{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}'
format: tar.gz
format_overrides:
- goos: windows
format: zip
files:
- CHANGELOG.md
- LICENSE
- README.md
- completion/tusk-completion.bash
- completion/_tusk
archives:
- name_template: '{{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}'
format: tar.gz
format_overrides:
- goos: windows
format: zip
files:
- CHANGELOG.md
- LICENSE
- README.md
- completion/tusk-completion.bash
- completion/_tusk
snapshot:
name_template: SNAPSHOT-{{ .Commit }}
checksum:
Expand All @@ -38,24 +41,24 @@ release:
github:
owner: rliebz
name: tusk
brew:
github:
owner: rliebz
name: homebrew-tusk
homepage: https://github.com/rliebz/tusk
description: The modern task runner
install: |
bin.install "tusk"
brews:
- github:
owner: rliebz
name: homebrew-tusk
homepage: https://github.com/rliebz/tusk
description: The modern task runner
install: |
bin.install "tusk"
bash_completion.install "completion/tusk-completion.bash"
zsh_completion.install "completion/_tusk"
test: |
system "#{bin}/tusk --version"
nfpm:
maintainer: Robert Liebowitz <rliebz@gmail.com>
homepage: https://gihub.com/rliebz/tusk
description: The modern task runner
license: MIT
formats:
- deb
- rpm
bash_completion.install "completion/tusk-completion.bash"
zsh_completion.install "completion/_tusk"
test: |
system "#{bin}/tusk --version"
nfpms:
- maintainer: Robert Liebowitz <rliebz@gmail.com>
homepage: https://gihub.com/rliebz/tusk
description: The modern task runner
license: MIT
formats:
- deb
- rpm

0 comments on commit b5a0242

Please sign in to comment.