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
description: '# Branch name that has code to release!'
13
+
IS_HOTFIX:
14
+
type: choice
15
+
description: "Is a hotfix or not."
22
16
required: true
23
-
default: ''
17
+
default: "false"
18
+
options:
19
+
- "false"
20
+
- "true"
24
21
HOTFIX_TAG:
25
-
description: '# Optional, if Hotfix Release, then mandatory to input recent tag version (include prefix - v as well) deployed to live otherwise ignore this input'
26
-
default: 'false'
22
+
description: "Tag to calculate creation of hotfix."
23
+
default: ""
24
+
IS_MAJOR:
25
+
type: choice
26
+
description: "Is a major release?"
27
+
required: true
28
+
default: "false"
29
+
options:
30
+
- "false"
31
+
- "true"
32
+
IS_MINOR:
33
+
type: choice
34
+
description: "Is a minor release?"
35
+
required: true
36
+
default: "false"
37
+
options:
38
+
- "false"
39
+
- "true"
40
+
IS_PATCH:
41
+
type: choice
42
+
description: "Is a patch release?"
43
+
required: true
44
+
default: "false"
45
+
options:
46
+
- "false"
47
+
- "true"
27
48
28
49
################################################
29
-
# GITHUB ACTION JOBS
30
-
################################################
50
+
# GITHUB ACTION JOB
51
+
################################################
31
52
jobs:
32
-
create-release-tag:
33
-
name: create-release-tag
34
-
runs-on: ubuntu-latest
53
+
create-tag:
54
+
permissions: write-all
35
55
timeout-minutes: 15
36
-
56
+
runs-on: ubuntu-latest
37
57
38
58
################################################
39
59
# GITHUB ACTIONS GLOBAL ENV VARIABLES
40
60
################################################
41
61
env:
42
-
ENV : live # Valid values are dev,test,live only
43
-
STACK_NAME: live # Valid values are au,us,uk,p2,lf,nu,p1-sandbox,p1-stage,p2-sandbox,shared,p2-usa only
author_name: Release ${{ steps.tag_version.outputs.new_tag }} created for ${{ env.ROOTSTACK }} for deployment to ${{ env.ENV }} environemnt in ${{ env.STACK_NAME }} AWS account. git previous tag id ${{ env.CURRENT_TAG_VERSION }}
139
-
mention: 'here'
140
-
if_mention: failure,cancelled
141
-
job_name: create-release-tag # Match the name above.
author_name: create tag failed; package.json version id ${{env.NEW_TAG_VERSION}}; git latest tag id ${{env.CURRENT_TAG_VERSION}} mismatch - ${{ env.ERR_MSG }}
176
-
mention: 'here'
177
-
if_mention: failure,cancelled
178
-
job_name: create-release-tag # Match the name above.
0 commit comments