File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99 description : " The JIRA domain to tag the release."
1010 type : string
1111 required : true
12+ version :
13+ description : " The version to tag the release."
14+ type : string
15+ required : false
1216 secrets :
1317 jira-username :
1418 description : " The JIRA username to tag the release."
2731 fetch-depth : 0
2832 - name : Get Version
2933 run : |
30- echo "version=$(cat package.json | jq -r '.version')" >> $GITHUB_ENV
34+ if [ -z "${{ inputs.version }}" ]; then
35+ echo "version=$(cat package.json | jq -r '.version')" >> $GITHUB_ENV
36+ else
37+ echo "version=${{ inputs.version }}" >> $GITHUB_ENV
38+ fi
3139 - name : Create Confluence Release Notes
3240 uses : VirdocsSoftware/github-actions/.github/actions/confluence-release-notes@main
3341 with :
Original file line number Diff line number Diff line change 11{
22 "name" : " github-actions" ,
3- "version" : " 2.9 .0" ,
3+ "version" : " 2.10 .0" ,
44 "description" : " Used to store GitHub actions for use across the enterprise" ,
55 "scripts" : {
66 "test" : " ./tooling/scripts/run_tests.sh" ,
You can’t perform that action at this time.
0 commit comments