Skip to content

Commit 548bf89

Browse files
ci: Support for OVERRIDE_RELEASE_VERSION (#256)
# Motivation In some cases, the version computed by codacy does not match what we really want. # Description Add a possibility to override the release version by specifying a project variable named `OVERRIDE_RELEASE_VERSION` with the expected version. # Testing The mechanism has been tested in ArmoniK.Core. # Additional Information The override variable must be emptied after the release.
2 parents 7937208 + c19d28b commit 548bf89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/make-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
echo RELASE => ${{ steps.release.outputs.version }} >> $GITHUB_STEP_SUMMARY
5656
5757
- name: Validate tag
58-
run : test ${{ steps.release.outputs.version }} == ${{ github.ref_name }}
58+
run : test "${{ steps.release.outputs.version }}" == "${{ github.ref_name }}" -o "${{ vars.OVERRIDE_RELEASE_VERSION }}" == "${{ github.ref_name }}"
5959

6060
- name: Delete tag if invalid
6161
if: failure() || cancelled()

0 commit comments

Comments
 (0)