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:
kmmiio99o 2025-10-11 02:35:43 +02:00
parent 42bb468076
commit 95c2a09ef9

View file

@ -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