mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2024-11-14 22:55:52 -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"
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user