File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed
Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change 4848 - name : Configure runner for release
4949 uses : ./.github/actions/release-initialise
5050
51+ - name : Create tag for testing
52+ if : github.event_name != 'workflow_dispatch'
53+ shell : bash
54+ run : git tag v0.0.0
55+
5156 # We start by preparing the mergeback branch, mainly so that we have the updated changelog
5257 # readily available for the partial changelog that's needed for the release.
5358 - name : Prepare mergeback branch
6974 - name : Prepare rollback changelog
7075 env :
7176 NEW_CHANGELOG : " ${{ runner.temp }}/new_changelog.md"
72- ROLLBACK_TAG : ${{ inputs.rollback-tag || needs.prepare.outputs.latest_tag }}
77+ # We usually expect to checkout `inputs.rollback-tag` (required for `workflow_dispatch`),
78+ # but use `v0.0.0` for testing.
79+ ROLLBACK_TAG : ${{ inputs.rollback-tag || 'v0.0.0' }}
7380 LATEST_TAG : ${{ needs.prepare.outputs.latest_tag }}
7481 VERSION : " ${{ needs.prepare.outputs.version }}"
7582 run : |
8390 shell : bash
8491 env :
8592 # We usually expect to checkout `inputs.rollback-tag` (required for `workflow_dispatch`),
86- # but use `needs.prepare.outputs.latest_tag ` for testing.
87- ROLLBACK_TAG : ${{ inputs.rollback-tag || needs.prepare.outputs.latest_tag }}
93+ # but use `v0.0.0 ` for testing.
94+ ROLLBACK_TAG : ${{ inputs.rollback-tag || 'v0.0.0' }}
8895 RELEASE_TAG : ${{ needs.prepare.outputs.version }}
8996 MAJOR_VERSION_TAG : ${{ needs.prepare.outputs.major_version }}
9097 run : |
You can’t perform that action at this time.
0 commit comments