Skip to content

Commit

Permalink
Update version bump workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
xylo04 authored Nov 15, 2023
1 parent 8722791 commit 799d2b6
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/publish_npm.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
name: Publish
on: workflow_dispatch
on:
workflow_dispatch:
inputs:
version-type:
type: choice
description: Which version type to bump
options:
- patch
- minor
- major

jobs:
publish:
Expand Down Expand Up @@ -29,6 +38,8 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag-prefix: 'v'
# Can't use commit wording because manually dispatched workflows don't contain the commits
version-type: ${{ github.event.inputs.version-type }}

- name: Rebuild
run: |
Expand Down

0 comments on commit 799d2b6

Please sign in to comment.