Skip to content

Commit a2437c0

Browse files
author
Juli Ovechkina
authored
fix: prerelease (#606)
1 parent 904acf0 commit a2437c0

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/release-alpha.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,14 @@ on:
77
type: string
88
required: false
99
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.'
10+
prerelease:
11+
type: choice
12+
description: Release type, patch is used by default
13+
default: 'prepatch'
14+
options:
15+
- prepatch
16+
- preminor
17+
- premajor
1018

1119
jobs:
1220
release:
@@ -19,4 +27,4 @@ jobs:
1927
node-version: 14
2028
npm-dist-tag: alpha
2129
manual-version: ${{ github.event.inputs.manualPackageVersion }}
22-
prerelease: true
30+
prerelease: ${{ github.event.inputs.prerelease }}

0 commit comments

Comments
 (0)