File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 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
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
You can’t perform that action at this time.
0 commit comments