File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change
1
+ # GitHub release workflow.
2
+ #
3
+ # This workflow is a bit complicated because we have to build darwin binaries on
4
+ # a mac runner, but the mac runners are extremely slow. So instead of running
5
+ # the entire release on a mac (which will take an hour to run), we run only the
6
+ # mac build on a mac, and the rest on a linux runner. The final release is then
7
+ # published using a final linux runner.
1
8
name : release
2
9
on :
3
10
push :
Original file line number Diff line number Diff line change
1
+ # This goreleaser config file requires GoReleaser Pro as it uses the prebuilt
2
+ # builder type.
3
+
1
4
archives :
2
5
- id : coder-linux
3
6
builds : [release-prebuilt-linux]
@@ -97,3 +100,6 @@ release:
97
100
extra_files :
98
101
- glob : ./artifacts/coder_*_darwin*
99
102
- glob : ./artifacts/coder_*_windows*
103
+
104
+ snapshot :
105
+ name_template : " {{ .Version }}-devel+{{ .ShortCommit }}"
You can’t perform that action at this time.
0 commit comments