From d250bd309e3cb806bbbd6f2fbc882d165d007cdf Mon Sep 17 00:00:00 2001 From: CEKlopfenstein Date: Sat, 18 May 2024 02:09:28 +0000 Subject: [PATCH] Change Math Operation Method --- .github/workflows/build.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 03b4ccd..f778435 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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: