Skip to content

Commit

Permalink
Output raw version swig tag without grep filtering it
Browse files Browse the repository at this point in the history
  • Loading branch information
nightlark committed Dec 25, 2023
1 parent 24a9e2f commit 1d55574
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/swig-update-autocheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@ jobs:
echo "Old version: $old_version"
echo "old_version=$old_version" >> $GITHUB_OUTPUT
new_version_raw=$(git -c 'versionsort.suffix=-' \
ls-remote --exit-code --refs --sort='version:refname' --tags https://github.com/swig/swig/ 'v*.*.*'\
| tail --lines=1\
| cut --delimiter='/' --fields=3
echo "New version (raw): $new_version_raw"
new_version=$(git -c 'versionsort.suffix=-' \
ls-remote --exit-code --refs --sort='version:refname' --tags https://github.com/swig/swig/ 'v*.*.*'\
| tail --lines=1\
Expand Down

0 comments on commit 1d55574

Please sign in to comment.