Unverified Commit ccc99d47 authored by Vihang Mehta's avatar Vihang Mehta Committed by Copybara
Browse files

Fixup github release names for cli release


Summary: TSIA

Test Plan: Checked the vars being used.

Reviewers: michelle, zasgar

Reviewed By: michelle
Signed-off-by: default avatarVihang Mehta <vihang@pixielabs.ai>

Differential Revision: https://phab.corp.pixielabs.ai/D11718

GitOrigin-RevId: 6335b257d57f72e056ed7f01ba991fe15fa278a8
Showing with 3 additions and 3 deletions
+3 -3
......@@ -108,7 +108,7 @@ write_artifacts_to_gcs() {
}
write_artifacts_to_gh() {
gh release --repo=pixie-io/pixie create "${release_tag}" --notes "Pixie CLI Release"
gh release create "${TAG_NAME}" --repo=pixie-io/pixie --notes "Pixie CLI Release"
tmp_dir="$(mktemp -d)"
pushd "${tmp_dir}"
......@@ -119,7 +119,7 @@ write_artifacts_to_gh() {
cp "/mnt/jenkins/sharedDir/image/${pkg_prefix}.rpm" "pixie-px.${linux_arch}.rpm"
gpg --no-tty --batch --yes --local-user "${BUILDBOT_GPG_KEY_ID}" --armor --detach-sign "pixie-px.${linux_arch}.rpm"
gh release --repo=pixie-io/pixie upload "${release_tag}" "cli_linux_amd64" "cli_linux_amd64.asc" "pixie-px.${linux_arch}.deb" "pixie-px.${linux_arch}.deb.asc" "pixie-px.${linux_arch}.rpm" "pixie-px.${linux_arch}.rpm.asc"
gh release upload "${TAG_NAME}" --repo=pixie-io/pixie "cli_linux_amd64" "cli_linux_amd64.asc" "pixie-px.${linux_arch}.deb" "pixie-px.${linux_arch}.deb.asc" "pixie-px.${linux_arch}.rpm" "pixie-px.${linux_arch}.rpm.asc"
popd
}
......
......@@ -44,6 +44,6 @@ do
copy_artifact_to_gcs "$output_path" "cli_darwin_${arch}" "cli_darwin_${arch}"
gpg --no-tty --batch --yes --local-user "${BUILDBOT_GPG_KEY_ID}" --armor --detach-sign "cli_darwin_${arch}"
gh release --repo=pixie-io/pixie upload "${release_tag}" "cli_darwin_${arch}" "cli_darwin_${arch}.asc"
gh release upload "${TAG_NAME}" --repo=pixie-io/pixie "cli_darwin_${arch}" "cli_darwin_${arch}.asc"
fi
done
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment