Skip to content

Commit 9d43723

Browse files
authored
fix: if in pre-release
1 parent 049ebac commit 9d43723

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jobs/release/action.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ runs:
3737
echo "${{ inputs.changelogs }}" >> "$changelog_file"
3838
3939
ARGS="--repo ${{ github.repository }} --target ${{ github.sha }} -F $changelog_file"
40-
if ${{ inputs.pre-release }}; then
40+
if [ "${{ inputs.pre-release }}" == "true" ]; then
4141
ARGS="$ARGS --prerelease"
4242
fi
4343
gh release create $ARGS v${{ inputs.version }} ${{ inputs.assets }}

0 commit comments

Comments
 (0)