We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 750372f commit 6b8d5c3Copy full SHA for 6b8d5c3
1 file changed
.github/workflows/bun-compile.yml
@@ -131,16 +131,13 @@ jobs:
131
echo "::error::No version provided. Cannot create release."
132
exit 1
133
fi
134
+ PRERELEASE_FLAG=""
135
if [[ "$VERSION" == *prerelease* ]]; then
- gh release create "v${VERSION}" \
136
- --title "v${VERSION}" \
137
- --generate-notes \
138
- --prerelease \
139
- artifacts/*
140
- else
141
142
143
144
+ PRERELEASE_FLAG="--prerelease"
145
+ gh release create "v${VERSION}" \
+ --title "v${VERSION}" \
+ --generate-notes \
+ $PRERELEASE_FLAG \
+ artifacts/*
146
0 commit comments