From 013be6fd1a365430fc4ad6ea4142d3d29ab8d383 Mon Sep 17 00:00:00 2001 From: Ryan SVIHLA Date: Wed, 9 Feb 2022 11:46:28 +0100 Subject: [PATCH] removing code signing --- .github/workflows/goreleaser.yml | 12 ------------ .goreleaser.yml | 4 ---- gon_osx_darwin_amd64.hcl | 14 -------------- gon_osx_darwin_arm64.hcl | 14 -------------- 4 files changed, 44 deletions(-) delete mode 100644 gon_osx_darwin_amd64.hcl delete mode 100644 gon_osx_darwin_arm64.hcl diff --git a/.github/workflows/goreleaser.yml b/.github/workflows/goreleaser.yml index 8ff3fbf..9db35a4 100644 --- a/.github/workflows/goreleaser.yml +++ b/.github/workflows/goreleaser.yml @@ -18,23 +18,11 @@ jobs: uses: actions/setup-go@v2 with: go-version: 1.17 - - name: install gon - run: brew tap mitchellh/gon && brew install mitchellh/gon/gon - - name: Import Code-Signing Certificates - uses: Apple-Actions/import-codesign-certs@v1 - with: - # The certificates in a PKCS12 file encoded as a base64 string - p12-file-base64: ${{ secrets.APPLE_DEVELOPER_CERTIFICATE_P12_BASE64 }} - # The password used to import the PKCS12 file. - p12-password: ${{ secrets.APPLE_DEVELOPER_CERTIFICATE_PASSWORD }} - - name: Run GoReleaser uses: goreleaser/goreleaser-action@v2 with: version: latest args: release --rm-dist env: - AC_USERNAME: ${{ secrets.AC_USERNAME }} - AC_PASSWORD: ${{ secrets.AC_PASSWORD }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.goreleaser.yml b/.goreleaser.yml index 1fe50b0..9478d21 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -18,16 +18,12 @@ builds: - darwin goarch: - amd64 - hooks: - post: gon gon_osx_darwin_amd64.hcl - id: astra-osx-arm binary: astra goos: - darwin goarch: - arm64 - hooks: - post: gon gon_osx_darwin_arm64.hcl changelog: sort: asc filters: diff --git a/gon_osx_darwin_amd64.hcl b/gon_osx_darwin_amd64.hcl deleted file mode 100644 index 3add188..0000000 --- a/gon_osx_darwin_amd64.hcl +++ /dev/null @@ -1,14 +0,0 @@ -source = ["./dist/astra-osx-amd_darwin_amd64/astra"] -bundle_id = "pro.foundev.astra.cli" - -sign { - application_identity = "Developer ID Application: Ryan Svihla (8FLL83XJM2)" -} - -zip { - output_path = "./dist/astra-osx-amd64-signed.zip" -} - -apple_id { - password = "@env:AC_PASSWORD" -} diff --git a/gon_osx_darwin_arm64.hcl b/gon_osx_darwin_arm64.hcl deleted file mode 100644 index bc16b53..0000000 --- a/gon_osx_darwin_arm64.hcl +++ /dev/null @@ -1,14 +0,0 @@ -source = ["./dist/astra-osx-arm_darwin_arm64/astra"] -bundle_id = "pro.foundev.astra.cli" - -sign { - application_identity = "DDF52A8D387B7E77F18F86043FF2AC7AED277179" -} - -zip { - output_path = "./dist/astra-osx-arm-signed.zip" -} - -apple_id { - password = "@env:AC_PASSWORD" -}