Skip to content

Commit

Permalink
fix: if in pre-release
Browse files Browse the repository at this point in the history
  • Loading branch information
shiipou authored Jun 27, 2023
1 parent 049ebac commit 9d43723
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jobs/release/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ runs:
echo "${{ inputs.changelogs }}" >> "$changelog_file"
ARGS="--repo ${{ github.repository }} --target ${{ github.sha }} -F $changelog_file"
if ${{ inputs.pre-release }}; then
if [ "${{ inputs.pre-release }}" == "true" ]; then
ARGS="$ARGS --prerelease"
fi
gh release create $ARGS v${{ inputs.version }} ${{ inputs.assets }}

0 comments on commit 9d43723

Please sign in to comment.