You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/release-engineering.md
+7-33Lines changed: 7 additions & 33 deletions
Original file line number
Diff line number
Diff line change
@@ -115,44 +115,18 @@ Fill in the text box with the release notes written above.
115
115
116
116
(DO use the "preview" tab to proofread the text.)
117
117
118
-
Create the binaries and attach them to the release:
119
118
120
-
go run build/build.go
119
+
## Step 6. Publish the release
121
120
122
-
NOTE: This command creates binaries with the version number and git hash embedded. It also builds the releases for all supported platforms (i.e. creates a .exe for Windows even if you are running on Linux. Isn't Go amazing?)
121
+
a. Publish the release.
123
122
124
-
WARNING: if there are files that haven't been checked in, the version string will have "dirty" appended.
125
-
126
-
This is what it looks like when you did it right:
127
-
128
-
```
129
-
$ ./dnscontrol-Darwin version
130
-
dnscontrol 3.0.0 ("a7c62e5d317e7e3da76dffd8e24d6a9d304d8159") built 22 Mar 20 15:16 EDT
131
-
```
132
-
133
-
This is what it looks like when there was a file that wasn't checked in:
134
-
135
-
```
136
-
$ ./dnscontrol-Darwin version
137
-
dnscontrol 3.0.0 ("ee5208bd5f19b9e5dd0bdba8d0e13403c43a469a[dirty]") built 22 Mar 20 15:16 EDT
138
-
^^^^^
139
-
^^^^^
140
-
^^^^^
141
-
```
142
-
143
-
144
-
## Step 6. Attach the binaries and release.
145
-
146
-
a. Drag and drop binaries into the web form.
147
-
148
-
There is a box labeled "Attach binaries by dropping them here or
149
-
selecting them". Drag dnscontrol-Darwin, dnscontrol-Linux, and
150
-
dnscontrol.exe onto that box (one at a time or all at once). This
151
-
will upload the binaries.
123
+
Make sure the "This is a pre-release" checkbox is UNchecked. Then click "Publish Release".
152
124
153
-
b. Submit the release.
125
+
b. Wait for workflow to complete
154
126
155
-
Make sure the "This is a pre-release" checkbox is UNchecked. Then click "Publish Release".
127
+
There's a GitHub Actions [workflow](https://github.com/StackExchange/dnscontrol/actions?query=workflow%3Arelease) which automatically builds and attaches
128
+
all 3 binaries to the release. Refresh the page after a few minutes and you'll
129
+
see dnscontrol-Darwin, dnscontrol-Linux, and dnscontrol.exe attached as assets.
0 commit comments