mirror of
https://github.com/storytold/materialcraft.git
synced 2026-11-19 14:01:02 +01:00
Honor release version in packaging
This commit is contained in:
1 file changed
+1
-1
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user