]> go.fuhry.dev Git - runtime.git/commitdiff
[bazel] optionally support separating Tag from Version
authorDan Fuhry <dan@fuhry.com>
Tue, 13 Oct 2026 13:34:50 +0000 (09:34 -0400)
committerDan Fuhry <dan@fuhry.com>
Mon, 19 Oct 2026 21:28:28 +0000 (17:28 -0400)
bazel/workspace-status

index 44a1f997bc177c1af1351588f99c4d1be4698a77..643235879c933e1ad97c3144369ca189cc81e63c 100755 (executable)
@@ -24,7 +24,7 @@ INT_CA_NAME="${INT_CA_NAME:-"${ORG_NAME} Intermediate mTLS"}"
 DEVICE_TRUST_TOKEN_NAME="${DEVICE_TRUST_TOKEN_NAME:-"${ORG_NAME} Device Trust"}"
 DEVICE_TRUST_PRINCIPAL="${DEVICE_TRUST_PRINCIPAL:-"devicetrust"}"
 TAG="$(cd "$basedir/.."; git describe HEAD 2>/dev/null)"
-VERSION="${TAG:-0.0.0+unset}"
+VERSION="${VERSION:-${TAG:-0.0.0+unset}}"
 
 
 vars=(