Skip to content

Commit 54e4ca9

Browse files
committed
ci: prerelease if tag contains pre
1 parent 1237542 commit 54e4ca9

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,9 @@ jobs:
9898
echo "TAG=$VERSION" >> $GITHUB_ENV
9999
100100
- uses: ncipollo/release-action@v1
101-
if: ${{ !contains(env.TAG, 'beta') && !contains(env.TAG, 'alpha') && !contains(env.TAG, 'canary') && !contains(env.TAG, 'no-release') }}
101+
if: ${{ !contains(env.TAG, 'experimental') }}
102102
with:
103+
allowUpdates: true
103104
artifacts: "build/release/*.zip"
104-
token: ${{ secrets.GH_TOKEN }}
105+
prerelease: ${{ contains(env.TAG, 'pre') }}
106+
token: ${{ secrets.GH_TOKEN }}

0 commit comments

Comments
 (0)