Enable auto-release workflow on dev branch and manual dispatch
Allow releases from both main and dev branches, and enable workflow_dispatch for manual triggering. Mark releases from dev as prereleases.
This commit is contained in:
parent
42bb468076
commit
95c2a09ef9
1 changed files with 3 additions and 0 deletions
3
.github/workflows/auto-release.yml
vendored
3
.github/workflows/auto-release.yml
vendored
|
|
@ -4,6 +4,8 @@ on:
|
|||
push:
|
||||
branches:
|
||||
- main
|
||||
- dev
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
release:
|
||||
|
|
@ -41,6 +43,7 @@ jobs:
|
|||
with:
|
||||
tag_name: v${{ steps.bunny_version.outputs.version }}
|
||||
name: Release v${{ steps.bunny_version.outputs.version }}
|
||||
prerelease: ${{ github.ref == 'refs/heads/dev' }}
|
||||
files: |
|
||||
dist/shiggycord.js
|
||||
dist/shiggycord.min.js
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue