actions: Test 2 change numbering
This commit is contained in:
parent
778c1b3d92
commit
45c1ea3557
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user