diff --git a/.github/workflows/on_merge.yml b/.github/workflows/on_merge.yml index 93f02ce..eadaff8 100644 --- a/.github/workflows/on_merge.yml +++ b/.github/workflows/on_merge.yml @@ -17,7 +17,7 @@ jobs: - name: Get branch for the latest version run: | echo hello - git fetch --all --prune + git fetch --all echo $(git for-each-ref --format='%(refname:short)' refs/heads) echo $(git for-each-ref --format='%(refname:short)' refs/heads | grep -Po '^v\d.\d(.\d)?$') echo $(git for-each-ref --format='%(refname:short)' refs/heads | grep -Po '^v\d.\d(.\d)?$' | sort -V | tail -n 1)