Skip to content

Commit

Permalink
Update command to get the latest release tag
Browse files Browse the repository at this point in the history
  • Loading branch information
candy02058912 committed Sep 6, 2024
1 parent 25ca799 commit 7dfe4c1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/publish-latest-plugin-zip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ jobs:

- name: Get tag name
id: get_tag
run: echo "tag_name=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
run: |
LATEST_TAG=$(git describe --tags --abbrev=0)
echo "tag_name=$LATEST_TAG" >> $GITHUB_OUTPUT
- name: Install dependencies
run: npm ci
Expand Down

0 comments on commit 7dfe4c1

Please sign in to comment.