diff --git a/.github/set_version.sh b/.github/set_version.sh index 3804a9e7c98f..b0b1f1bc1e3b 100755 --- a/.github/set_version.sh +++ b/.github/set_version.sh @@ -2,4 +2,4 @@ # since the caches seem to accumulate cruft over time; # ref https://github.com/PRQL/prql/pull/2407 -grep '^version =' Cargo.toml | tr -d ' "' >> $GITHUB_ENV +echo "version=$(yq '.workspace.package.version' Cargo.toml)" >>"$GITHUB_ENV"