actions: Use same numbering on bot deployment
This commit is contained in:
parent
b642cf7269
commit
b38de6ad52
@ -65,7 +65,7 @@ jobs:
|
|||||||
echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}"
|
echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}"
|
||||||
tag=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}
|
tag=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}
|
||||||
tag=${tag//\//-}
|
tag=${tag//\//-}
|
||||||
tag_num=$(git rev-list --count HEAD)
|
tag_num=${GITHUB_RUN_NUMBER}
|
||||||
if [[ "$tag" == "main" ]]; then
|
if [[ "$tag" == "main" ]]; then
|
||||||
tag="latest"
|
tag="latest"
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user