We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4af5666 commit ad5338dCopy full SHA for ad5338d
.github/workflows/release.yaml
@@ -28,6 +28,7 @@ env:
28
GHC_VERSION: '9.6.4'
29
RUST_VERSION: '1.73'
30
SERVICE: "${{ inputs.service }}"
31
+ VERSION_TEST: '7.0.1-rc'
32
33
permissions:
34
id-token: write
@@ -59,9 +60,9 @@ jobs:
59
60
run: |
61
CARGO_VERSION=$(yq .version package.yaml)
62
if [ -z "${{ env.SERVICE }}" ]; then
- IFS='-' read -r VERSION BUILD RELEASE_TYPE <<< "${{ github.ref_name }}"
63
+ IFS='-' read -r VERSION BUILD RELEASE_TYPE <<< "${{ env.VERSION_TEST }}"
64
if [ ! "$VERSION" = "$CARGO_VERSION" ]; then
- echo "::error::${GITHUB_REF_NAME} does not match ${VERSION}."
65
+ echo "::error::${CARGO_VERSION} does not match ${VERSION}."
66
exit 1
67
fi
68
else
0 commit comments