Update pre-release.yaml

This commit is contained in:
Chris Titus 2024-07-17 00:13:56 -05:00
parent 4176435ebf
commit 07434f706b

View File

@ -31,22 +31,10 @@ jobs:
Write-Error "Version not found in winutil.ps1" Write-Error "Version not found in winutil.ps1"
exit 1 exit 1
} }
git tag $version
git push origin $version
shell: pwsh 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 - name: Create and Upload Release
id: create_release id: create_release
uses: softprops/action-gh-release@v2 uses: softprops/action-gh-release@v2