mirror of
https://github.com/velopack/velopack.git
synced 2025-10-25 15:19:22 +00:00
Move commit tag into overall script
This commit is contained in:
11
.github/workflows/release.yml
vendored
11
.github/workflows/release.yml
vendored
@@ -139,6 +139,11 @@ jobs:
|
|||||||
Write-Host "Current tag: $currentTag"
|
Write-Host "Current tag: $currentTag"
|
||||||
Write-Host "Previous tag: $previousTag"
|
Write-Host "Previous tag: $previousTag"
|
||||||
|
|
||||||
|
# Push the tag to the repository
|
||||||
|
Write-Host "Tagging release commit..."
|
||||||
|
git tag $currentTag
|
||||||
|
git push origin $currentTag
|
||||||
|
|
||||||
# Generate release notes
|
# Generate release notes
|
||||||
Write-Host "Generating release notes..."
|
Write-Host "Generating release notes..."
|
||||||
$headers = @{
|
$headers = @{
|
||||||
@@ -198,12 +203,6 @@ jobs:
|
|||||||
gh release upload $currentTag (get-item ../lib-rust/*.crate)
|
gh release upload $currentTag (get-item ../lib-rust/*.crate)
|
||||||
gh release upload $currentTag (get-item ../lib-c/*.zip)
|
gh release upload $currentTag (get-item ../lib-c/*.zip)
|
||||||
|
|
||||||
- name: Tag release commit
|
|
||||||
working-directory: ./repo
|
|
||||||
run: |
|
|
||||||
git tag $PKG_VERSION
|
|
||||||
git push origin $PKG_VERSION
|
|
||||||
|
|
||||||
- name: Publish NuGet Packages
|
- name: Publish NuGet Packages
|
||||||
run: |
|
run: |
|
||||||
for f in packages/*.nupkg; do
|
for f in packages/*.nupkg; do
|
||||||
|
|||||||
Reference in New Issue
Block a user