Honor release version in packaging

This commit is contained in:
Dylan M. Taylor committed 2026-11-04 12:30:01 -05:00
1 parent 4e8bb9ca9a
commit ddb78274f9
1 file changed
+1 -1
+1 -1
View File
@@ -21,7 +21,7 @@ workspace_version() {
' "$ROOT/Cargo.toml"
}
VERSION="${MATERIALCRAFT_VERSION:-$(workspace_version)}"
VERSION="${MATERIALCRAFT_VERSION:-${RELEASE_VERSION:-$(workspace_version)}}"
if [ -z "$VERSION" ]; then
echo "error: could not read [workspace.package] version from $ROOT/Cargo.toml" >&2
exit 1