Skip to content

Commit 52b883a

Browse files
committed
fix: ci version check failing
1 parent 37cd217 commit 52b883a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/ci.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@ jobs:
5353
- name: Check version number
5454
run: |
5555
set -euo pipefail
56-
if [ "$(yq '.info.version' "${ARTIFACT_NAME}")" != ${PASSED_VERSION} ]
56+
if [ "$(yq '--unwrapScalar' '.info.version' "${ARTIFACT_NAME}")" != ${PASSED_VERSION} ]
5757
then
58-
echo "Mismatch between actual and expected version!\nAborting Release." >&2
58+
echo -e "Mismatch between actual and expected version!\nAborting Release." >&2
5959
exit 1
6060
fi
6161
- name: Apply Version Postpend
@@ -66,9 +66,9 @@ jobs:
6666
- name: Check version number
6767
run: |
6868
set -euo pipefail
69-
if [ "$(yq '--input-format=toml' '--output-format=toml' '.package.version' 'Cargo.toml')" != "${PASSED_VERSION}${VERSION_POSTPEND}" ]
69+
if [ "$(yq '--unwrapScalar' '--input-format=toml' '--output-format=toml' '.package.version' 'Cargo.toml')" != "${PASSED_VERSION}${VERSION_POSTPEND}" ]
7070
then
71-
echo "Mismatch between actual and expected version!\nAborting Release." >&2
71+
echo -e "Mismatch between actual and expected version!\nAborting Release." >&2
7272
exit 1
7373
fi
7474
- name: Deploy SDK back into main branch

0 commit comments

Comments
 (0)