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: