actions: Test 4 change numbering
This commit is contained in:
parent
04edb8b456
commit
3e3c2fe61e
@ -24,7 +24,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 log --oneline | wc -l}
|
tag_num=$(git log --oneline | wc -l)
|
||||||
echo "tag_num=$tag_num"
|
echo "tag_num=$tag_num"
|
||||||
|
|
||||||
if [[ "$tag" == "main" ]]; then
|
if [[ "$tag" == "main" ]]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user