diff --git a/.github/workflows/sync-upstream.yml b/.github/workflows/sync-upstream.yml index 3099e178d99..e70d237587d 100644 --- a/.github/workflows/sync-upstream.yml +++ b/.github/workflows/sync-upstream.yml @@ -49,7 +49,9 @@ jobs: run: | LAST_UPSTREAM_TAG=$(git ls-remote --tags https://github.com/navidrome/navidrome.git | cut -d$'\t' -f2 | grep -E '^refs/tags/v[0-9]+\.[0-9]+\.[0-9]+$' | cut -d'/' -f3 | sort -V | tail -n 1) echo "$LAST_UPSTREAM_TAG" - git tag + echo "-----" + git tag | grep $LAST_UPSTREAM_TAG -c + echo "-----" exists=$(git tag | grep $LAST_UPSTREAM_TAG -c) echo "是否存在新的tag: $exists" if [ "X${exists}" == "X0" ]; then