1
0
mirror of https://github.com/go-task/task.git synced 2024-12-12 10:45:49 +02:00

Update the release process once again:

- Release both Homebrew and Snapcraft packages manually for now;
- Fix some artifacts file names to keep them consistent.
This commit is contained in:
Andrey Nering 2018-03-11 15:58:32 -03:00
parent 328e3725e5
commit 0af9600e92
2 changed files with 12 additions and 20 deletions

View File

@ -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}}"

View File

@ -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/