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: doc/maintainers/releases.md
+26-3Lines changed: 26 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -149,6 +149,28 @@ Examples:
149
149
150
150
* Upload `stack` package to Hackage: `stack upload . --pvp-bounds=lower`.
151
151
152
+
* If you get the error
153
+
154
+
> The field "build-tools" is deprecated in the Cabal specification version 2.0. Please use 'build-tool-depends' field
155
+
156
+
then edit `stack.cabal` locally and change all instances of
157
+
158
+
```
159
+
build-tools:
160
+
hsc2hs
161
+
```
162
+
163
+
to
164
+
165
+
```
166
+
build-tool-depends:
167
+
hsc2hs:hsc2hs
168
+
```
169
+
170
+
and try again, then discard the local changes to `stack.cabal`.
171
+
172
+
Hopefully this issue will be resolved and we can remove this instruction (alternatively, we could use a `verbatim` field in `package.yaml`).
173
+
152
174
* Reset the `release` branch to the released commit, e.g.: `git checkout release && git merge --ff-only vX.Y.Z && git push origin release`
153
175
154
176
* Update the `stable` branch similarly
@@ -190,13 +212,13 @@ Examples:
190
212
* Merge any changes made in the RC/release/stable branches to master (be careful about version and changelog). It is best to do this by making a `ci/merge-stable-to-master` branch and waiting for CI to pass, then merging. If anything is complicated to merge, consider making it a PR and getting it reviewed rather than merging immediately.
[email protected] mailing lists, subject `ANN: stack-X.Y.Z` (or `ANN: stack-X.Y release candidate`), containing the markdown for the release description from Github. `[RC]`
215
+
[email protected] mailing lists, subject `ANN: stack-X.Y.Z` (or `ANN: stack-X.Y release candidate`), containing the release description from Github. `[RC]`
194
216
195
217
* For release candidates, also include a link to the Github Release (`https://github.com/commercialhaskell/stack/releases/tag/vX.Y.Z`) to download it. `[RC]`
196
218
197
219
* Update fpco/stack-build Docker images with new version
198
220
199
-
* Under [commercilhaskell/stackage/automated/dockerfiles](https://github.com/commercialhaskell/stackage/tree/master/automated/dockerfiles/), add `lts-X.Y/Dockerfile` (where `X.Y` is the latest stackage LTS version), containing (note where X.Z is the previous LTS version, and X.Y.Z is the newly released stack version)
221
+
* Under [commercialhaskell/stackage/automated/dockerfiles](https://github.com/commercialhaskell/stackage/tree/master/automated/dockerfiles/), add `lts-X.Y/Dockerfile` (where `X.Y` is the latest stackage LTS version), containing (note where X.Z is the previous LTS version, and X.Y.Z is the newly released stack version)
200
222
201
223
```
202
224
FROM $DOCKER_REPO:lts-X.Z
@@ -208,9 +230,10 @@ Examples:
208
230
209
231
* Run `./build.sh --push lts-X.Y && ./build.sh --push --small lts-X.Y` to push the new image to the registry.
210
232
233
+
211
234
## Build Linux static binary distribution with Nix
212
235
213
-
NOTE: We have switched back to Alpine Linux for building static binaries, done by CI.
236
+
**NOTE: We have switched back to Alpine Linux for building static binaries, done by CI. Leaving this section for future reference.**
214
237
215
238
These instructions are tested on Ubuntu 16.04, but theoretically should work on any Linux distribution.
0 commit comments