Skip to content

Commit

Permalink
Change Math Operation Method
Browse files Browse the repository at this point in the history
  • Loading branch information
CEKlopfenstein committed May 18, 2024
1 parent fb38b3c commit d250bd3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ jobs:

- name: Determine Version Number
id: version
run: |
echo "TAG_NAME=$(date +%Y).$((1 + $(git tag -l --sort=-creatordate|grep -v 'pre'|head -n 1|sed -E 's/^[^\.]+\.//g;s/\..+//g'))).$(git log --oneline HEAD...$(git tag -l --sort=-creatordate|grep -v 'pre'|head -n 1)|wc -l)-pre" >> $GITHUB_OUTPUT
run: echo "TAG_NAME=$(date +%Y).$[ 1 + $(git tag -l --sort=-creatordate|grep -v 'pre'|head -n 1|sed -E 's/^[^\.]+\.//g;s/\..+//g') ].$(git log --oneline HEAD...$(git tag -l --sort=-creatordate|grep -v 'pre'|head -n 1)|wc -l)-pre" >> $GITHUB_OUTPUT
- name: Release
uses: softprops/action-gh-release@v2
with:
Expand Down

0 comments on commit d250bd3

Please sign in to comment.