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
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fixup! chore: add dry-run functionality to release workflow
  • Loading branch information
deansheather committed Jun 6, 2022
commit ec1064b5367d6ceb335df45dd47aa2f4ace64704
7 changes: 7 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# GitHub release workflow.
#
# This workflow is a bit complicated because we have to build darwin binaries on
# a mac runner, but the mac runners are extremely slow. So instead of running
# the entire release on a mac (which will take an hour to run), we run only the
# mac build on a mac, and the rest on a linux runner. The final release is then
# published using a final linux runner.
name: release
on:
push:
Expand Down
6 changes: 6 additions & 0 deletions .goreleaser-release.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# This goreleaser config file requires GoReleaser Pro as it uses the prebuilt
# builder type.

archives:
- id: coder-linux
builds: [release-prebuilt-linux]
Expand Down Expand Up @@ -97,3 +100,6 @@ release:
extra_files:
- glob: ./artifacts/coder_*_darwin*
- glob: ./artifacts/coder_*_windows*

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