Skip to content

Commit

Permalink
Print tag_name before getting URL.
Browse files Browse the repository at this point in the history
  • Loading branch information
zgypa committed Mar 28, 2024
1 parent 5bfa278 commit 2d21df8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
GITHUB_REPOSITORY: ${{ github.repository }}
GITHUB_REF_NAME: ${{ github.ref_name }}
run: |
# Create a release
printf "Create a release with tag_name: [%s]\n" "${GITHUB_REF_NAME}"
RESPONSE=$(curl -s -X POST -H "Authorization: token $GITHUB_TOKEN" -H "Content-Type: application/json" -d '{"tag_name":"'"$GITHUB_REF_NAME"'", "name":"Release '"$GITHUB_REF_NAME"'", "draft":false, "prerelease":false}' "https://api.github.com/repos/$GITHUB_REPOSITORY/releases")
printf "RESPONSE=%s\n" "${RESPONSE}"
Expand Down

0 comments on commit 2d21df8

Please sign in to comment.