Skip to content

Commit

Permalink
Update .github/workflows/init.yaml
Browse files Browse the repository at this point in the history
Co-authored-by: Christoph Krämer <[email protected]>
  • Loading branch information
nichtsfrei and Kraemii authored Feb 14, 2024
1 parent 21b4f53 commit 59cbee1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/init.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
if: ( env.IS_VERSION_TAG == 'true' )
run: |
# find the latest version that is not ourself
export LATEST_VERSION=$(git tag -l | grep -v '${{ github.ref_name }}' | sort -r --version-sort)
export LATEST_VERSION=$(git tag -l | grep -v '${{ github.ref_name }}' | sort -r --version-sort | head -n 1)
# get major minor patch versions
IFS='.' read -r latest_major latest_minor latest_patch << EOF
$LATEST_VERSION
Expand Down

0 comments on commit 59cbee1

Please sign in to comment.