Skip to content

Commit

Permalink
set correct type
Browse files Browse the repository at this point in the history
  • Loading branch information
wswebcreation committed Jan 1, 2024
1 parent 60c3be7 commit b599485
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/scripts/create_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ API_URL="https://api.github.com/repos/$REPO_OWNER/$REPO_NAME/releases"
DATA=$(jq -n --arg tag_name "$TAG_NAME" \
--arg name "$RELEASE_NAME" \
--arg body "$BODY" \
--arg draft "$DRAFT" \
--arg prerelease "$PRE_RELEASE" \
--argjson draft $(echo $DRAFT | tr '[:upper:]' '[:lower:]') \
--argjson prerelease $(echo $PRE_RELEASE | tr '[:upper:]' '[:lower:]') \
'{tag_name: $tag_name, name: $name, body: $body, draft: $draft, prerelease: $prerelease}')

# Make a POST request to create the release
Expand Down

0 comments on commit b599485

Please sign in to comment.