Skip to content

Commit e712e9e

Browse files
committed
fixed creat erelease action
1 parent 84ef09d commit e712e9e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/actions/github/create-release/action.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,6 @@ runs:
1919
shell: bash
2020
env:
2121
GH_TOKEN: ${{ github.token }}
22+
preview-argument: "${{ inputs.is-preview == 'true' && '--prerelease' || '' }}"
2223
run: |
23-
gh release create ${{ env.release-version }} --generate-notes --discussion-category "General" $(if [ '${{ inputs.is-preview }}" = "true" ]; then echo "--prerelease"; fi)
24+
gh release create ${{ env.release-version }} --generate-notes --discussion-category "General"

0 commit comments

Comments
 (0)