Skip to content

chore: split release workflow so the majority happens on Linux #2092

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 11 commits into from
Jun 7, 2022
Merged
Prev Previous commit
fixup! chore: add retry for apple notarization
  • Loading branch information
deansheather committed Jun 7, 2022
commit 2c3a65a59b7320b3a46d6dfd5f33cdd42bbcd59b
2 changes: 0 additions & 2 deletions .github/workflows/coder.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -318,8 +318,6 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 20
if: github.ref == 'refs/heads/main' && !github.event.pull_request.head.repo.fork
needs:
- test-go-postgres
permissions:
contents: read
id-token: write
Expand Down
11 changes: 0 additions & 11 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,6 @@ builds:
env: [CGO_ENABLED=0]
goos: [darwin]
goarch: [amd64, arm64]
hooks:
# This signs the binary that will be located inside the zip.
# MacOS requires the binary to be signed for notarization.
#
# If it doesn't successfully sign, the zip sign step will error.
post: |
sh -c 'codesign -s {{.Env.AC_APPLICATION_IDENTITY}} -f -v --timestamp --options runtime {{.Path}} || true'

# This section is also contained in .goreleaser-release.yaml.
nfpms:
Expand All @@ -78,9 +71,5 @@ nfpms:
- src: coder.service
dst: /usr/lib/systemd/system/coder.service

env:
# Apple identity for signing!
- AC_APPLICATION_IDENTITY=BDB050EB749EDD6A80C6F119BF1382ECA119CCCC

snapshot:
name_template: "{{ .Version }}-devel+{{ .ShortCommit }}"