File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change 1111
1212 workflow_dispatch :
1313 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+
1426 version-postfix :
1527 type : choice
1628 description : " It adds alpha or beta postfix to version."
4961 run : |
5062 echo "VERSION="$(date +%Y).$(date +%-m)"" >> $GITHUB_ENV
5163
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+
5269 - name : Create version with postfix
5370 if : ${{ (env.POSTFIX == 'alpha') || (env.POSTFIX == 'beta') }}
5471 run :
You can’t perform that action at this time.
0 commit comments