Skip to content

Commit 62ba8db

Browse files
committed
Update the release process once again:
- Release both Homebrew and Snapcraft packages manually for now; - Fix some artifacts file names to keep them consistent.
1 parent 328e372 commit 62ba8db

File tree

2 files changed

+12
-20
lines changed

2 files changed

+12
-20
lines changed

.goreleaser.yml

Lines changed: 4 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ release:
2525
snapshot:
2626
name_template: "{{.Tag}}"
2727

28+
checksum:
29+
name_template: "task_checksums.txt"
30+
2831
nfpm:
2932
vendor: Task
3033
homepage: https://github.com/go-task/task
@@ -36,21 +39,4 @@ nfpm:
3639
formats:
3740
- deb
3841
- rpm
39-
40-
brew:
41-
name: go-task
42-
github:
43-
owner: go-task
44-
name: homebrew-tap
45-
commit_author:
46-
name: Andrey Nering
47-
48-
folder: Formula
49-
homepage: https://github.com/go-task/task
50-
description: Task runner / simpler Make alternative written in Go
51-
conflicts:
52-
- taskwarrior
53-
install: |
54-
bin.install "task"
55-
test: |
56-
system "#{bin}/task", "--help"
42+
name_template: "{{.ProjectName}}_{{.Os}}_{{.Arch}}"

RELEASING_TASK.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,13 @@ the `test-release` task of the Taskfile.
66

77
The Travis CI should release automatically when a new
88
Git tag is pushed to master, either for the artifact uploading (raw executables
9-
and DEB and RPM packages) and publishing of a new version in the
10-
[Homebrew tap][homebrewtap].
9+
and DEB and RPM packages)
10+
11+
# Homebrew
12+
13+
To release a new version on the [Homebrew tap][homebrewtap] edit the
14+
[Formula/go-task.rb][gotaskrb] file, updating with the new version, download
15+
URL and sha256.
1116

1217
# Snapcraft
1318

@@ -21,6 +26,7 @@ the [Snapscraft dashboard][snapcraftdashboard]
2126

2227
[goreleaser]: https://goreleaser.com/#continuous_integration
2328
[homebrewtap]: https://github.com/go-task/homebrew-tap
29+
[gotaskrb]: https://github.com/go-task/homebrew-tap/blob/master/Formula/go-task.rb
2430
[snappackage]: https://github.com/go-task/snap
2531
[snapcraftyaml]: https://github.com/go-task/snap/blob/master/snap/snapcraft.yaml#L2
2632
[snapcraftdashboard]: https://dashboard.snapcraft.io/

0 commit comments

Comments
 (0)