diff --git a/.github/workflows/cli_release.yaml b/.github/workflows/cli_release.yaml index 0beeea9a4b5..aaa3bc935f6 100644 --- a/.github/workflows/cli_release.yaml +++ b/.github/workflows/cli_release.yaml @@ -88,11 +88,11 @@ jobs: - name: Add pwd to git safe dir run: git config --global --add safe.directory `pwd` - name: Install gon - run: brew install mitchellh/gon/gon + run: brew install Bearer/tap/gon - name: Sign CLI release env: REF: ${{ github.event.ref }} - AC_PASSWD: ${{ secrets.APPLE_ID_PASSWORD }} + AC_PASSWORD: ${{ secrets.APPLE_ID_PASSWORD }} KEYCHAIN_PASSWORD: ${{ secrets.APPLE_KEYCHAIN_PASSWORD }} CERT_BASE64: ${{ secrets.APPLE_SIGN_CERT_B64 }} CERT_PASSWORD: ${{ secrets.APPLE_SIGN_CERT_PASSWORD }} @@ -135,6 +135,9 @@ jobs: uses: ./.github/actions/gcloud_creds with: SERVICE_ACCOUNT_KEY: ${{ secrets.GH_RELEASE_SA_PEM_B64 }} + - name: Add pwd to git safe dir + run: | + git config --global --add safe.directory `pwd` - name: Upload signed CLI env: REF: ${{ github.event.ref }} diff --git a/ci/cli_upload_signed.sh b/ci/cli_upload_signed.sh index 5f56d5e4cce..84653afc13c 100755 --- a/ci/cli_upload_signed.sh +++ b/ci/cli_upload_signed.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/bin/bash -ex # Copyright 2018- The Pixie Authors. # @@ -21,8 +21,6 @@ repo_path=$(bazel info workspace) # shellcheck source=ci/artifact_utils.sh . "${repo_path}/ci/artifact_utils.sh" -set -ex - printenv release_tag=${TAG_NAME##*/v} diff --git a/ci/gon.hcl b/ci/gon.hcl index 3702665306b..624e84dd327 100644 --- a/ci/gon.hcl +++ b/ci/gon.hcl @@ -2,17 +2,16 @@ // using Gon. source = ["./cli_darwin_amd64", "./cli_darwin_arm64", "cli_darwin_universal"] -bundle_id = "ai.pixielabs.px" +bundle_id = "ai.getcosmic.px" -// TODO(zasgar): Update this to the orders@pixielabs.ai account. It has access to the certs, -// but does not have access to application passwords. apple_id { - username = "zasgar@gmail.com" - password = "@env:AC_PASSWD" + username = "apple-dev@getcosmic.ai" + # Password is provided via AC_PASSWORD env var + provider = "769M9XJDG6" } sign { - application_identity = "Developer ID Application: Pixie Labs Inc. (SZCNTABEXY)" + application_identity = "Developer ID Application: Cosmic Observe, Inc." } zip {