Skip to content

Commit ad5338d

Browse files
committed
test build
1 parent 4af5666 commit ad5338d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/release.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ env:
2828
GHC_VERSION: '9.6.4'
2929
RUST_VERSION: '1.73'
3030
SERVICE: "${{ inputs.service }}"
31+
VERSION_TEST: '7.0.1-rc'
3132

3233
permissions:
3334
id-token: write
@@ -59,9 +60,9 @@ jobs:
5960
run: |
6061
CARGO_VERSION=$(yq .version package.yaml)
6162
if [ -z "${{ env.SERVICE }}" ]; then
62-
IFS='-' read -r VERSION BUILD RELEASE_TYPE <<< "${{ github.ref_name }}"
63+
IFS='-' read -r VERSION BUILD RELEASE_TYPE <<< "${{ env.VERSION_TEST }}"
6364
if [ ! "$VERSION" = "$CARGO_VERSION" ]; then
64-
echo "::error::${GITHUB_REF_NAME} does not match ${VERSION}."
65+
echo "::error::${CARGO_VERSION} does not match ${VERSION}."
6566
exit 1
6667
fi
6768
else

0 commit comments

Comments
 (0)