mirror of
https://github.com/LukeHagar/sailpoint-cli.git
synced 2025-12-06 04:21:15 +00:00
Swapped hub cli to gh cli for msi upload
This commit is contained in:
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@@ -117,7 +117,7 @@ jobs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
tag_name="${GITHUB_REF#refs/tags/}"
|
tag_name="${GITHUB_REF#refs/tags/}"
|
||||||
hub release edit "$tag_name" -m "" -a "$MSI_FILE"
|
gh release upload "$tag_name" "$MSI_FILE"
|
||||||
release_url="$(gh api repos/:owner/:repo/releases -q ".[]|select(.tag_name==\"${tag_name}\")|.url")"
|
release_url="$(gh api repos/:owner/:repo/releases -q ".[]|select(.tag_name==\"${tag_name}\")|.url")"
|
||||||
publish_args=( -F draft=false )
|
publish_args=( -F draft=false )
|
||||||
gh api -X PATCH "$release_url" "${publish_args[@]}"
|
gh api -X PATCH "$release_url" "${publish_args[@]}"
|
||||||
|
|||||||
Reference in New Issue
Block a user