mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2024-12-22 05:51:30 -06:00
Update pre-release.yaml
This commit is contained in:
parent
4176435ebf
commit
07434f706b
16
.github/workflows/pre-release.yaml
vendored
16
.github/workflows/pre-release.yaml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user