Skip to content

Commit

Permalink
Fix release version check (#12)
Browse files Browse the repository at this point in the history
Fix a bug in release version check: Need to prefix character `v` to
`$RELEASE_VERSION`.
  • Loading branch information
syncom authored Oct 29, 2022
1 parent 75df220 commit b2456e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
set -euxo pipefail
cd ${{ github.workspace }}
APP_VERSION="$(r10e-build/r10edocker-linux-amd64 --version | rev | cut -f1 -d' ' | rev)"
if [ "$APP_VERSION" != "$RELEASE_VERSION" ]; then
if [ "$APP_VERSION" != "v$RELEASE_VERSION" ]; then
echo "This is not supposed to happen. There must be a versioning bug."
exit 1
fi
Expand Down

0 comments on commit b2456e3

Please sign in to comment.