Skip to content

Commit ec1064b

Browse files
committed
fixup! chore: add dry-run functionality to release workflow
1 parent d638c6e commit ec1064b

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

.github/workflows/release.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
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.
18
name: release
29
on:
310
push:

.goreleaser-release.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# This goreleaser config file requires GoReleaser Pro as it uses the prebuilt
2+
# builder type.
3+
14
archives:
25
- id: coder-linux
36
builds: [release-prebuilt-linux]
@@ -97,3 +100,6 @@ release:
97100
extra_files:
98101
- glob: ./artifacts/coder_*_darwin*
99102
- glob: ./artifacts/coder_*_windows*
103+
104+
snapshot:
105+
name_template: "{{ .Version }}-devel+{{ .ShortCommit }}"

0 commit comments

Comments
 (0)