Skip to content

Commit

Permalink
fix(plugins/github-release): reflect API changes
Browse files Browse the repository at this point in the history
  • Loading branch information
dalisoft committed Apr 26, 2024
1 parent da992c4 commit 14615ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/github-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ release() {
-H "Authorization: Bearer $GITHUB_TOKEN" \
-H "X-GitHub-Api-Version: 2022-11-28" \
"https://api.github.com/repos/$GIT_REPO_NAME/releases" \
-d "{\"tag_name\":\"$NEXT_RELEASE_TAG\",\"target_commitish\":\"$CHECKOUT_SHA\",\"name\":\"$NEXT_RELEASE_TAG\",\"body\":\"$RELEASE_BODY\",\"draft\":false,\"prerelease\":$PRE_RELEASE_VERSION,\"generate_release_notes\":false,\"make_latest\":\"true\"}"
-d "{\"tag_name\":\"$NEXT_RELEASE_TAG\",\"name\":\"$NEXT_RELEASE_TAG\",\"body\":\"$RELEASE_BODY\",\"draft\":false,\"prerelease\":$PRE_RELEASE_VERSION,\"generate_release_notes\":false,\"make_latest\":\"true\"}"
log "Created GitHub release [$NEXT_RELEASE_TAG]!"
log "GitHub release available at https://github.com/$GIT_REPO_NAME/releases/tag/$NEXT_RELEASE_TAG"
else
Expand Down

0 comments on commit 14615ab

Please sign in to comment.