We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4470ea8 commit d4cb666Copy full SHA for d4cb666
.github/workflows/publish-plugin-and-cli-from-branch.yml
@@ -11,6 +11,18 @@ on:
11
12
workflow_dispatch:
13
inputs:
14
+ minor-release:
15
+ type: choice
16
+ description: "It adds minor release indicator to version."
17
+ required: true
18
+ default: 'none'
19
+ options:
20
+ - 'none'
21
+ - '1'
22
+ - '2'
23
+ - '3'
24
+ - '4'
25
+
26
version-postfix:
27
type: choice
28
description: "It adds alpha or beta postfix to version."
@@ -49,6 +61,11 @@ jobs:
49
61
run: |
50
62
echo "VERSION="$(date +%Y).$(date +%-m)"" >> $GITHUB_ENV
51
63
64
+ - name: Set version for minor release
65
+ if: ${{ github.event.inputs.minor-release != 'none' }}
66
+ run: |
67
+ echo "VERSION=${{ env.VERSION }}.${{ github.event.inputs.minor-release }}" >> $GITHUB_ENV
68
52
69
- name: Create version with postfix
53
70
if: ${{ (env.POSTFIX == 'alpha') || (env.POSTFIX == 'beta') }}
54
71
run:
0 commit comments