diff --git a/.goreleaser.yml b/.goreleaser.yml index 336b470a..49583c54 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -25,6 +25,9 @@ release: snapshot: name_template: "{{.Tag}}" +checksum: + name_template: "task_checksums.txt" + nfpm: vendor: Task homepage: https://github.com/go-task/task @@ -36,21 +39,4 @@ nfpm: formats: - deb - rpm - -brew: - name: go-task - github: - owner: go-task - name: homebrew-tap - commit_author: - name: Andrey Nering - email: andrey.nering@gmail.com - folder: Formula - homepage: https://github.com/go-task/task - description: Task runner / simpler Make alternative written in Go - conflicts: - - taskwarrior - install: | - bin.install "task" - test: | - system "#{bin}/task", "--help" + name_template: "{{.ProjectName}}_{{.Os}}_{{.Arch}}" diff --git a/RELEASING_TASK.md b/RELEASING_TASK.md index 9d1083fd..0d5d2183 100644 --- a/RELEASING_TASK.md +++ b/RELEASING_TASK.md @@ -6,8 +6,13 @@ the `test-release` task of the Taskfile. The Travis CI should release automatically when a new Git tag is pushed to master, either for the artifact uploading (raw executables -and DEB and RPM packages) and publishing of a new version in the -[Homebrew tap][homebrewtap]. +and DEB and RPM packages) + +# Homebrew + +To release a new version on the [Homebrew tap][homebrewtap] edit the +[Formula/go-task.rb][gotaskrb] file, updating with the new version, download +URL and sha256. # Snapcraft @@ -21,6 +26,7 @@ the [Snapscraft dashboard][snapcraftdashboard] [goreleaser]: https://goreleaser.com/#continuous_integration [homebrewtap]: https://github.com/go-task/homebrew-tap +[gotaskrb]: https://github.com/go-task/homebrew-tap/blob/master/Formula/go-task.rb [snappackage]: https://github.com/go-task/snap [snapcraftyaml]: https://github.com/go-task/snap/blob/master/snap/snapcraft.yaml#L2 [snapcraftdashboard]: https://dashboard.snapcraft.io/