Skip to content

Commit

Permalink
fix: remove prerelease
Browse files Browse the repository at this point in the history
  • Loading branch information
Skylar Simoncelli committed Nov 14, 2024
1 parent 0edd84d commit 837378b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/actions/release/publish-draft-release/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ runs:
json_data=$(jq -n \
--arg name "$tag" \
--arg body "$updated_body" \
'{"draft": false, "name": $name, "body": $body}')
'{"draft": false, "prerelease": false, "name": $name, "body": $body}')
response=$(curl -s -X PATCH -H "Authorization: token ${{ env.GITHUB_TOKEN }}" \
-d "$json_data" \
"https://api.github.com/repos/${{ github.repository }}/releases/$release_id")
Expand All @@ -62,3 +62,4 @@ runs:
echo "Release does not exist, skipping publish step."
fi
shell: bash

0 comments on commit 837378b

Please sign in to comment.