Skip to content

Commit 475118a

Browse files
committed
Prepare release v0.5.0 (#23)
Release v0.5.0 with a Homebrew bottle.
1 parent 93bf3a3 commit 475118a

File tree

5 files changed

+31
-4
lines changed

5 files changed

+31
-4
lines changed

.github/workflows/go.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,3 +91,4 @@ jobs:
9191
env:
9292
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
9393
GORELEASER_CURRENT_TAG: ${{ env.VERSION }}
94+
HOMEBREW_TAP_GITHUB_TOKEN: ${{ secrets.HOMEBREW_TAP_GITHUB_TOKEN }}

.goreleaser.yml

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
# This is an example .goreleaser.yml file with some sane defaults.
2-
# Make sure to check the documentation at http://goreleaser.com
31
before:
42
hooks:
53
- ./scripts/check-version.sh {{.Version}}
4+
65
builds:
76
- main: ./cmd/restack
87
binary: restack
@@ -12,17 +11,38 @@ builds:
1211
- linux
1312
- windows
1413
- darwin
14+
1515
archives:
1616
- replacements:
1717
darwin: Darwin
1818
linux: Linux
1919
windows: Windows
2020
386: i386
2121
amd64: x86_64
22+
23+
brews:
24+
- tap:
25+
owner: abhinav
26+
name: homebrew-tap
27+
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
28+
commit_msg_template: "{{ .ProjectName }}: Update formula to {{ .Tag }}"
29+
commit_author:
30+
name: Abhinav Gupta
31+
32+
homepage: https://github.com/abhinav/restack
33+
description: "Makes interactive Git rebase nicer."
34+
license: "MIT"
35+
skip_upload: auto
36+
dependencies:
37+
- name: git
38+
test: |
39+
system "#{bin}/restack -version"
2240
checksum:
2341
name_template: 'checksums.txt'
42+
2443
snapshot:
2544
name_template: "{{ incminor .Tag }}-dev"
45+
2646
changelog:
2747
# A commit log is not a changelog.
2848
skip: true

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
Releases
22
========
33

4+
v0.5.0 (2021-09-13)
5+
-------------------
6+
7+
- Release Homebrew bottles.
8+
9+
410
v0.4.0 (2021-08-15)
511
-------------------
612

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ For example, if you have `$HOME/bin` on your `$PATH`,
2121

2222
OS=$(uname -s)
2323
ARCH=$(uname -m)
24-
VERSION=0.4.0
24+
VERSION=0.5.0
2525
URL="https://github.com/abhinav/restack/releases/download/v$VERSION/restack_${VERSION}_${OS}_${ARCH}.tar.gz"
2626
curl -L "$URL" | tar xzv -C ~/bin restack
2727

version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ package restack
55
// Note that semantic versioning in this repository applies to the `restack`
66
// executable, not to its library components. These APIs may break at any
77
// time without warning.
8-
const Version = "0.4.0"
8+
const Version = "0.5.0"

0 commit comments

Comments
 (0)