Skip to content

Commit 5dd3f92

Browse files
committed
ci: tar fix
1 parent 73969cf commit 5dd3f92

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/create-binaries.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,12 @@ jobs:
1818
- name: Generate Change Log
1919
id: generate_log
2020
run: |
21-
curl -L https://github.com/barelyhuman/commitlog/releases/download/v0.0.2/commitlog-linux-amd64.tar.gz --output commitlog.tar.gz
22-
tar -xvzf commitlog.tar.gz
21+
curl -s https://api.github.com/repos/barelyhuman/commitlog/releases/latest \
22+
grep browser_download_url \
23+
grep linux-amd64 \
24+
cut -d '"' -f 4 \
25+
wget -qi -
26+
tar -xvzf commitlog-linux-amd64.tar.gz
2327
chmod +x commitlog
2428
export CHANGELOG="$(./commitlog .)"
2529
CHANGELOG="${CHANGELOG//'%'/'%25'}"

0 commit comments

Comments
 (0)