mirror of
https://github.com/BewlyBewly/BewlyBewly.git
synced 2025-04-14 13:15:29 +00:00
ci(release-it): update release-it workflow to allow choosing increment type
This commit is contained in:
11
.github/workflows/release-it.yml
vendored
11
.github/workflows/release-it.yml
vendored
@@ -6,6 +6,15 @@ permissions:
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
increment:
|
||||
required: true
|
||||
default: patch
|
||||
type: choice
|
||||
options:
|
||||
- major
|
||||
- minor
|
||||
- patch
|
||||
|
||||
jobs:
|
||||
release:
|
||||
@@ -34,7 +43,7 @@ jobs:
|
||||
- args: [--frozen-lockfile]
|
||||
|
||||
- name: Release
|
||||
run: npx release-it --verbose
|
||||
run: npx release-it ${{ inputs.increment }}
|
||||
env:
|
||||
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
||||
CHROME_EXTENSION_ID: ${{ secrets.CHROME_EXTENSION_ID }}
|
||||
|
||||
Reference in New Issue
Block a user