Skip to content

Commit

Permalink
Git not working?
Browse files Browse the repository at this point in the history
  • Loading branch information
CEKlopfenstein committed May 18, 2024
1 parent 8f2d408 commit 8db3949
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ jobs:
echo "MINOR=$(git log --oneline HEAD...$(git tag -l --sort=-creatordate|grep -v 'pre'|head -n 1)|wc -l)" >> $GITHUB_OUTPUT
LAST_VERSION_TAG=$(git tag -l --sort=-creatordate|grep -v 'pre'|head -n 1)
echo "Last Version: "
git tag -l --sort=-creatordate|grep -v 'pre'|head -n 1
git tag -l --sort=-creatordate
//|grep -v 'pre'|head -n 1
LAST_MAJOR=$(echo $LAST_VERSION_TAG|sed -E 's/^[^\.]+\.//g;s/\..+//g')
echo "Last Major: "$LAST_MAJOR
MAJOR=$(($LAST_MAJOR+1))
Expand Down

0 comments on commit 8db3949

Please sign in to comment.