Skip to content

Commit a47756a

Browse files
committed
Need to fetch existing tags before checking
1 parent 7c04713 commit a47756a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/publish-version.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ jobs:
2828
VERSION=$(python -c "import murfey; print(murfey.__version__)")
2929
echo "newVersion=v$VERSION" >> $GITHUB_OUTPUT
3030
31+
git fetch --tags
3132
if [ $(git tag -l v$VERSION) ]; then
3233
echo "Version is up to date at $VERSION"
3334
echo "doTag=false" >> $GITHUB_OUTPUT

0 commit comments

Comments
 (0)