Skip to content

Commit

Permalink
Update action.yml (#2921)
Browse files Browse the repository at this point in the history
* Update action.yml

Signed-off-by: Aga <aga@besz.me>

* Update action.yml

Signed-off-by: Aga <aga@besz.me>

---------

Signed-off-by: Aga <aga@besz.me>
  • Loading branch information
aixaCode authored Nov 29, 2024
1 parent 9a3f778 commit 5fe030a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/actions/version/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ runs:
if: ${{ !inputs.tag }}
id: get_latest_version_tag
run: |
git checkout --detach
git fetch origin main:main --tags
tag=$(git describe --tags --match='v[0-9]*' --long main)
echo "tag=$tag" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit 5fe030a

Please sign in to comment.