Skip to content

Commit

Permalink
Fetch tags before setting LATEST_TAG
Browse files Browse the repository at this point in the history
  • Loading branch information
candy02058912 committed Sep 6, 2024
1 parent 7dfe4c1 commit 466f93c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/publish-latest-plugin-zip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:
- name: Get tag name
id: get_tag
run: |
git fetch --tags --force
LATEST_TAG=$(git describe --tags --abbrev=0)
echo "tag_name=$LATEST_TAG" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit 466f93c

Please sign in to comment.