Skip to content

Commit 323d734

Browse files
committed
release: Setup go-chglog with fixed compiled version
1 parent b46864d commit 323d734

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,14 @@ jobs:
1616
with:
1717
fetch-depth: 0
1818

19-
- name: Setup Go
20-
uses: actions/setup-go@v2
21-
with:
22-
go-version: '^1.15'
23-
2419
- name: Setup go-chglog
25-
run: go get -u github.com/git-chglog/git-chglog/cmd/git-chglog
20+
working-directory: /tmp
21+
env:
22+
VERSION: "0.10.0"
23+
run: |
24+
wget https://github.com/git-chglog/git-chglog/releases/download/v$VERSION/git-chglog_$VERSION_linux_amd64.tar.gz
25+
tar xgvf git-chglog_$VERSION_linux_amd64.tar.gz
26+
mv git-chglog /usr/local/bin/
2627
2728
- name: Generate changelog
2829
run: git-chglog -c .github/git-chglog/config.yml -o RELEASE_CHANGELOG.md $(git describe --tags $(git rev-list --tags --max-count=1))

0 commit comments

Comments
 (0)