Skip to content

Commit 680d582

Browse files
committed
ci: Add follow redirect flag to curl for git-chglog release download
1 parent 68d3240 commit 680d582

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 "${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 git-chglog -C /usr/local/bin
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)