mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 18:18:55 +00:00
chore(ci): prevent uploading old artifacts to new release (#5212)
Fixes https://github.com/firezone/firezone/issues/5210
This commit is contained in:
6
.github/workflows/_build_artifacts.yml
vendored
6
.github/workflows/_build_artifacts.yml
vendored
@@ -218,6 +218,12 @@ jobs:
|
||||
run: |
|
||||
set -xe
|
||||
|
||||
# mark:automatic-version
|
||||
if [ "${{ inputs.tag_name }}" != "1.0.6" ]; then
|
||||
echo "Version mismatch between artifact and release. Have we bumped versions and rebased since the last release?"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
sha256sum $BINARY_DEST_PATH > $BINARY_DEST_PATH.sha256sum.txt
|
||||
gh release upload ${{ inputs.tag_name }} \
|
||||
${{ env.BINARY_DEST_PATH }} \
|
||||
|
||||
Reference in New Issue
Block a user