Skip to content

Commit

Permalink
fix(plugins): update plugin according to core
Browse files Browse the repository at this point in the history
  • Loading branch information
dalisoft committed Feb 21, 2024
1 parent b8ae331 commit 62267a5
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\":\"$RELEASE_TAG_NAME\",\"target_commitish\":\"$CHECKOUT_SHA\",\"name\":\"$RELEASE_TAG_NAME\",\"body\":\"$RELEASE_BODY\",\"draft\":false,\"prerelease\":false,\"generate_release_notes\":false,\"make_latest\":\"true\"}"
-d "{\"tag_name\":\"$RELEASE_TAG_NAME\",\"target_commitish\":\"$CHECKOUT_SHA\",\"name\":\"$RELEASE_TAG_NAME\",\"body\":\"$RELEASE_BODY\",\"draft\":false,\"prerelease\":$PRE_RELEASE_VERSION,\"generate_release_notes\":false,\"make_latest\":\"true\"}"
log "Created GitHub release [$RELEASE_TAG_NAME]!"
echo "GitHub release available at https://github.com/$GIT_REPO_NAME/releases/tag/$RELEASE_TAG_NAME"
else
Expand Down

0 comments on commit 62267a5

Please sign in to comment.