File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 1818 default : no-postfix
1919 options :
2020 - no-postfix
21+ - no-postfix-prod
2122 - alpha
2223 - beta
2324
4243 # defining or updating the environment variable and writing this to the GITHUB_ENV environment file."
4344 echo "VERSION="$(date +%Y).$(date +%-m).${GITHUB_RUN_NUMBER}"" >> $GITHUB_ENV
4445 echo "POSTFIX=${{ github.event.inputs.version-postfix }}" >> $GITHUB_ENV
45-
46+
47+ - name : Set production version
48+ if : ${{ github.event.inputs.version-postfix == 'no-postfix-prod' || github.event.inputs.version-postfix == 'alpha' || github.event.inputs.version-postfix == 'beta' }}
49+ run : |
50+ echo "VERSION="$(date +%Y).$(date +%-m)"" >> $GITHUB_ENV
51+
4652 - name : Create version with postfix
4753 if : ${{ (env.POSTFIX == 'alpha') || (env.POSTFIX == 'beta') }}
4854 run :
You can’t perform that action at this time.
0 commit comments