Skip to content
This repository was archived by the owner on Feb 12, 2026. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
push:
branches:
- master
- dev
release:
types: [published]

Expand Down Expand Up @@ -42,7 +43,7 @@ jobs:
# Update release draft when changes are pushed to master
update_release_draft:
name: Update Release Draft
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
if: github.event_name == 'push' && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/dev')
needs: build
runs-on: ubuntu-latest
permissions:
Expand Down Expand Up @@ -97,9 +98,9 @@ jobs:

# Run standard-version to update package.json and CHANGELOG.md
npx standard-version --release-as $VERSION_WITHOUT_V --skip.tag

# Push changes back to master
git push origin master
# Push changes back to the current branch
CURRENT_BRANCH=$(git rev-parse --abbrev-ref HEAD)
git push origin $CURRENT_BRANCH

- name: Build project
run: npm run build
Expand Down