diff --git a/.github/workflows/pre-release.yaml b/.github/workflows/pre-release.yaml index 6b4d36a3..a7c49fad 100644 --- a/.github/workflows/pre-release.yaml +++ b/.github/workflows/pre-release.yaml @@ -31,22 +31,10 @@ jobs: Write-Error "Version not found in winutil.ps1" exit 1 } + git tag $version + git push origin $version shell: pwsh - - name: List Tags Before - run: git tag - - - name: Create Tag - id: create_tag - run: | - git tag ${{ steps.extract_version.outputs.version }} - git push origin ${{ steps.extract_version.outputs.version }} - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - - name: List Tags After - run: git tag - - name: Create and Upload Release id: create_release uses: softprops/action-gh-release@v2