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 47
47
- name : Configure runner for release
48
48
uses : ./.github/actions/release-initialise
49
49
50
+ - name : Create tag for testing
51
+ if : github.event_name != 'workflow_dispatch'
52
+ shell : bash
53
+ run : git tag v0.0.0
54
+
50
55
# We start by preparing the mergeback branch, mainly so that we have the updated changelog
51
56
# readily available for the partial changelog that's needed for the release.
52
57
- name : Prepare mergeback branch
68
73
- name : Prepare rollback changelog
69
74
env :
70
75
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' }}
72
79
LATEST_TAG : ${{ needs.prepare.outputs.latest_tag }}
73
80
VERSION : " ${{ needs.prepare.outputs.version }}"
74
81
run : |
82
89
shell : bash
83
90
env :
84
91
# 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' }}
87
94
RELEASE_TAG : ${{ needs.prepare.outputs.version }}
88
95
MAJOR_VERSION_TAG : ${{ needs.prepare.outputs.major_version }}
89
96
run : |
You can’t perform that action at this time.
0 commit comments