You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/release-alpha.yml
+17-30Lines changed: 17 additions & 30 deletions
Original file line number
Diff line number
Diff line change
@@ -3,42 +3,29 @@ name: Release alpha version
3
3
on:
4
4
workflow_dispatch:
5
5
inputs:
6
-
manualPackageVersion:
6
+
manualVersion:
7
7
type: string
8
8
required: false
9
9
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: 'prerelease'
14
+
options:
15
+
- prerelease
16
+
- prepatch
17
+
- preminor
18
+
- premajor
10
19
11
20
jobs:
12
-
build:
21
+
release:
13
22
runs-on: ubuntu-latest
14
23
steps:
15
-
- run: |
16
-
if [ "${{ github.event.inputs.manualPackageVersion }}" != "" ]; then
17
-
if [[ "${{ github.event.inputs.manualPackageVersion }}" != *"alpha"* ]]; then
18
-
echo "manualPackageVersion set incorrectly! Check that is contains alpha in it's name"
0 commit comments