actions: Test 2 change numbering
All checks were successful
Build Docker / Build Bot (push) Successful in 22s
Build Docker / Build Master (push) Successful in 25s

This commit is contained in:
Nathan Woodburn 2023-08-25 13:25:00 +10:00
parent 778c1b3d92
commit 45c1ea3557
Signed by: nathanwoodburn
GPG Key ID: 203B000478AD0EF1

View File

@ -25,6 +25,9 @@ jobs:
tag=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}
tag=${tag//\//-}
tag_num=$(git rev-list --count HEAD)
echo "tag_num=$tag_num"
tag_num=$(git rev-list ${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}} --count)
if [[ "$tag" == "main" ]]; then
tag="latest"