From 91c23c8416b4f6322a4b6ced71cc5c2ebad46040 Mon Sep 17 00:00:00 2001 From: Andre Wei Date: Thu, 2 Jan 2025 14:54:56 +0800 Subject: [PATCH] Update sync-upstream.yml 123123123 --- .github/workflows/sync-upstream.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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