Skip to content

Commit

Permalink
Update sync-upstream.yml
Browse files Browse the repository at this point in the history
123123123
  • Loading branch information
TooAndy authored Jan 2, 2025
1 parent 8cd8147 commit 91c23c8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/sync-upstream.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 91c23c8

Please sign in to comment.