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 4747 - name : Configure runner for release
4848 uses : ./.github/actions/release-initialise
4949
50+ - name : Create tag for testing
51+ if : github.event_name != 'workflow_dispatch'
52+ shell : bash
53+ run : git tag v0.0.0
54+
5055 # We start by preparing the mergeback branch, mainly so that we have the updated changelog
5156 # readily available for the partial changelog that's needed for the release.
5257 - name : Prepare mergeback branch
6873 - name : Prepare rollback changelog
6974 env :
7075 NEW_CHANGELOG : " ${{ runner.temp }}/new_changelog.md"
71- ROLLBACK_TAG : ${{ inputs.rollback-tag || needs.prepare.outputs.latest_tag }}
76+ # We usually expect to checkout `inputs.rollback-tag` (required for `workflow_dispatch`),
77+ # but use `v0.0.0` for testing.
78+ ROLLBACK_TAG : ${{ inputs.rollback-tag || 'v0.0.0' }}
7279 LATEST_TAG : ${{ needs.prepare.outputs.latest_tag }}
7380 VERSION : " ${{ needs.prepare.outputs.version }}"
7481 run : |
8289 shell : bash
8390 env :
8491 # We usually expect to checkout `inputs.rollback-tag` (required for `workflow_dispatch`),
85- # but use `needs.prepare.outputs.latest_tag ` for testing.
86- ROLLBACK_TAG : ${{ inputs.rollback-tag || needs.prepare.outputs.latest_tag }}
92+ # but use `v0.0.0 ` for testing.
93+ ROLLBACK_TAG : ${{ inputs.rollback-tag || 'v0.0.0' }}
8794 RELEASE_TAG : ${{ needs.prepare.outputs.version }}
8895 MAJOR_VERSION_TAG : ${{ needs.prepare.outputs.major_version }}
8996 run : |
You can’t perform that action at this time.
0 commit comments