From 07434f706b166a6ede5a254f382065245e2cfa9a Mon Sep 17 00:00:00 2001 From: Chris Titus Date: Wed, 17 Jul 2024 00:13:56 -0500 Subject: [PATCH] Update pre-release.yaml --- .github/workflows/pre-release.yaml | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) 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