diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 77d2cff..b68e1fe 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -24,7 +24,7 @@ jobs: echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" tag=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}} tag=${tag//\//-} - tag_num=${git log --oneline | wc -l} + tag_num=$(git log --oneline | wc -l) echo "tag_num=$tag_num" if [[ "$tag" == "main" ]]; then