We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4aa51d commit 996ad64Copy full SHA for 996ad64
.github/workflows/release.yml
@@ -57,8 +57,16 @@ jobs:
57
# ------------------------------
58
- name: Install git-cliff
59
run: |
60
- curl -sS https://raw.githubusercontent.com/orhun/git-cliff/main/install.sh | bash
61
- sudo mv cliff /usr/local/bin/git-cliff
+ LATEST=$(curl -s https://api.github.com/repos/orhun/git-cliff/releases/latest \
+ | grep browser_download_url \
62
+ | grep x86_64-unknown-linux-musl.tar.gz \
63
+ | cut -d '"' -f 4)
64
+
65
+ echo "Downloading: $LATEST"
66
+ curl -sSL "$LATEST" -o git-cliff.tar.gz
67
68
+ tar -xzf git-cliff.tar.gz
69
+ sudo mv git-cliff*/git-cliff /usr/local/bin/git-cliff
70
71
- name: Generate changelog
72
0 commit comments