Skip to content

Commit

Permalink
Follow redirect - needed for repo move
Browse files Browse the repository at this point in the history
  • Loading branch information
nwmac committed Oct 31, 2019
1 parent 3122b38 commit c6a507e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deploy/ci/tasks/dev-releases/github-helper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ downloadReleaseFile() {
local parser=". | map(select(.tag_name == \"$VERSION\"))[0].assets | map(select(.name == \"$FILE\"))[0].id"

# Get release information from GitHub
curl -H "Authorization: token $TOKEN" -H "Accept: application/vnd.github.v3.raw" -s $GITHUB/repos/$REPO/releases > releases.json
curl -L -H "Authorization: token $TOKEN" -H "Accept: application/vnd.github.v3.raw" -s $GITHUB/repos/$REPO/releases > releases.json
if [ $? -ne 0 ]; then
echo "Could not download release information for ${REPO}"
exit 1
Expand Down

0 comments on commit c6a507e

Please sign in to comment.