mirror of
https://github.com/velopack/velopack.git
synced 2025-10-25 15:19:22 +00:00
Move commit tag to after github release notes
This commit is contained in:
10
.github/workflows/release.yml
vendored
10
.github/workflows/release.yml
vendored
@@ -74,14 +74,12 @@ jobs:
|
||||
path: ./repo
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Tag the commit with version and push
|
||||
- name: Checkout release commit
|
||||
working-directory: ./repo
|
||||
run: |
|
||||
echo $PKG_VERSION
|
||||
COMMIT_HASH=$(gh run view ${{ github.event.inputs.workflow_run_id }} --json headSha -q ".headSha")
|
||||
git checkout $COMMIT_HASH
|
||||
git tag $PKG_VERSION
|
||||
git push origin $PKG_VERSION
|
||||
|
||||
- name: Generate Release
|
||||
working-directory: ./repo
|
||||
@@ -198,6 +196,12 @@ jobs:
|
||||
gh release upload $currentTag (get-item ../lib-rust/*.crate)
|
||||
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
|
||||
run: |
|
||||
for f in packages/*.nupkg; do
|
||||
|
||||
Reference in New Issue
Block a user