Skip to content

Commit eb88008

Browse files
committed
ci: Add tar flag to not keep owner of git-chglog binary
1 parent 680d582 commit eb88008

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
set -euo pipefail
4444
export BASE_URL="https://github.com/git-chglog/git-chglog/releases/download"
4545
export FILENAME="git-chglog_${CHGLOG_VERSION}_linux_amd64.tar.gz"
46-
curl -fsSL "${BASE_URL}/v${CHGLOG_VERSION}/${FILENAME}" |sudo tar xz git-chglog -C /usr/local/bin
46+
curl -fsSL "${BASE_URL}/v${CHGLOG_VERSION}/${FILENAME}" |sudo tar xz --no-same-owner -C /usr/local/bin git-chglog
4747
git-chglog --config .github/chglog/config.yml --output CHANGELOG.md "${GITHUB_REF_NAME}"
4848
4949
- name: Create GitHub release

0 commit comments

Comments
 (0)