Skip to content

Commit

Permalink
fix: change prerelease
Browse files Browse the repository at this point in the history
  • Loading branch information
yuberdysheva committed Oct 3, 2023
1 parent 7c03e81 commit 42400d9
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/release-alpha.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,16 @@ name: Release alpha version
on:
workflow_dispatch:
inputs:
manualPackageVersion:
manualVersion:
type: string
required: false
description: 'If your build failed and the version is already exists you can set version of package manually, e.g. 3.0.0-alpha.0. Use the prefix `alpha` otherwise you will get error.'
prerelease:
type: choice
description: Release type, patch is used by default
default: 'prepatch'
default: 'prerelease'
options:
- prerelease
- prepatch
- preminor
- premajor
Expand All @@ -26,5 +27,5 @@ jobs:
npm-token: ${{ secrets.GRAVITY_UI_BOT_NPM_TOKEN }}
node-version: 18
npm-dist-tag: alpha
manual-version: ${{ github.event.inputs.manualPackageVersion }}
prerelease: ${{ github.event.inputs.prerelease }}
npm-preid: alpha
npm-version: ${{ github.event.inputs.manualVersion || github.event.inputs.prerelease }}

0 comments on commit 42400d9

Please sign in to comment.