Merge pull request 'fix(ci): extract git-cliff to /tmp to avoid dirty worktree' (#47) from fix/git-cliff-install into main
Reviewed-on: #47
This commit was merged in pull request #47.
This commit is contained in:
@@ -35,8 +35,8 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
apk add --no-cache curl jq
|
apk add --no-cache curl jq
|
||||||
VERSION=$(curl -sS https://api.github.com/repos/orhun/git-cliff/releases/latest | jq -r '.tag_name' | sed 's/^v//')
|
VERSION=$(curl -sS https://api.github.com/repos/orhun/git-cliff/releases/latest | jq -r '.tag_name' | sed 's/^v//')
|
||||||
curl -sSL "https://github.com/orhun/git-cliff/releases/download/v${VERSION}/git-cliff-${VERSION}-x86_64-unknown-linux-musl.tar.gz" | tar xz
|
curl -sSL "https://github.com/orhun/git-cliff/releases/download/v${VERSION}/git-cliff-${VERSION}-x86_64-unknown-linux-musl.tar.gz" | tar xz -C /tmp
|
||||||
mv git-cliff-*/git-cliff /usr/local/bin/
|
mv /tmp/git-cliff-*/git-cliff /usr/local/bin/
|
||||||
git-cliff --version
|
git-cliff --version
|
||||||
|
|
||||||
- name: Generate release notes
|
- name: Generate release notes
|
||||||
|
|||||||
Reference in New Issue
Block a user