Skip to content

Commit

Permalink
yml try tags
Browse files Browse the repository at this point in the history
  • Loading branch information
Sonic853 committed Aug 15, 2024
1 parent 29c6173 commit 7d85119
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ jobs:
- name: Bump version
id: read_version
run: |
git fetch --tags
last_tag=$(git describe --always --tags --abbrev=0 || echo "0.0.0")
git fetch --prune --unshallow
last_tag=$(git describe --tags --abbrev=0 HEAD~|| echo "0.0.0")
current_version=$(npm pkg get version --workspaces=false | tr -d \")
name=$(npm pkg get name --workspaces=false | tr -d \")
echo $last_tag
echo "Latest Tag: $last_tag"
echo $current_version
echo "last_tag=$last_tag" >> $GITHUB_OUTPUT
echo "current_version=$current_version" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit 7d85119

Please sign in to comment.