Skip to content

Commit 96e8e04

Browse files
committed
Modify version format, which is fittable for debian packages
1 parent 93f63f5 commit 96e8e04

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/deployment.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@ jobs:
2626
# TODO(b/440196950): Setup condition for stable channel.
2727
case "${{ inputs.deploy-channel }}" in
2828
unstable)
29-
# Unstable version format : X.Y-gitYYYYMMDDHHMM-<Github SHA 8 digit>
29+
# Unstable version format : X.Y~gitYYYYMMDDHHMM-<Github SHA 8 digit>
3030
SEMVER=$(echo ${{ github.ref_name }} | grep -oE '[0-9]+.[0-9]+')
3131
SHORT_SHA=$(echo ${{ github.sha }} | cut -c1-8)
32-
VERSION="${SEMVER}-git${TIME}-${SHORT_SHA}"
32+
VERSION="${SEMVER}~git${TIME}-${SHORT_SHA}"
3333
;;
3434
nightly)
35-
# Nightly version format : gitYYYYMMDDHHMM-<Github SHA 8 digit>
35+
# Nightly version format : 0~gitYYYYMMDDHHMM-<Github SHA 8 digit>
3636
SHORT_SHA=$(echo ${{ github.sha }} | cut -c1-8)
37-
VERSION="git${TIME}-${SHORT_SHA}"
37+
VERSION="0~git${TIME}-${SHORT_SHA}"
3838
;;
3939
*)
4040
exit 1

0 commit comments

Comments
 (0)