Skip to content

Commit

Permalink
调试action
Browse files Browse the repository at this point in the history
  • Loading branch information
zsd committed Mar 28, 2024
1 parent 3850a9e commit a6baaa8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,11 @@ jobs:
- name: Get tags
run: |
echo "CURRENTVERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
echo "CURRENTVERSION=${git tag | sort -V | tail -n 1}" >> $GITHUB_ENV
git fetch --tags
echo "PREVERSION=$(git describe --tags --abbrev=0 HEAD^)" >> $GITHUB_ENV
echo 1111
git tag | sort -V | tail -n 2 | head -n 1
echo "PREVERSION=$(git tag | sort -V | tail -n 2 | head -n 1)" >> $GITHUB_ENV
- name: Generate release notes
run: |
Expand Down

0 comments on commit a6baaa8

Please sign in to comment.