@@ -46,16 +46,20 @@ Examples:
46
46
* ` 1.7.0.3 ` : second release candidate for first release of v1.7.x series (` v1.7 `
47
47
branch)
48
48
49
+
49
50
* ` 1.7.1 ` : first release of the 1.7.x series (` release ` branch)
50
51
52
+
51
53
* ` 1.7.2.0 ` : development for second release of 1.7.x series (` stable ` branch)
52
54
* ` 1.7.2.1 ` : release candidate for second release of 1.7.x series (` stable `
53
55
branch)
54
56
57
+
55
58
* ` 1.7.3 ` : second release of 1.7.x series (` release ` branch)
56
59
* ` 1.7.3.1 ` : first hackage-only patch of 1.7.3 (` release ` branch)
57
60
* ` 1.7.3.2 ` : second hackage-only patch of 1.7.3 (` release ` branch)
58
61
62
+
59
63
* ` 1.8.0 ` : unstable development code (` master ` branch)
60
64
* ` 1.8.0.20181004 ` : pre-release snapshot of unstable version (` master ` branch)
61
65
@@ -72,9 +76,9 @@ Examples:
72
76
nightly (go over the extra-deps too) and ensure the project builds and tests
73
77
pass. For example:
74
78
75
- ~~~
76
- $ stack build --stack-yaml=… --haddock --test --bench --no-run-benchmarks
77
- ~~~
79
+ ~~~
80
+ $ stack build --stack-yaml=… --haddock --test --bench --no-run-benchmarks
81
+ ~~~
78
82
7. Ensure integration tests pass on a Windows, macOS, and Linux. Do so by
79
83
checking that the latest nightly build for the `master` branch succeeded in
80
84
Azure DevOps (or kick one off manually if any significant changes were made
@@ -107,21 +111,21 @@ branch.
107
111
will be the next final (non-RC) release (e.g. `v2.1.1`).
108
112
* add new "Unreleased changes" section:
109
113
110
- ```
111
- ## Unreleased changes
114
+ ~~~
115
+ ## Unreleased changes
112
116
113
- Release notes:
117
+ Release notes:
114
118
115
- **Changes since vX.Y.Z:**
119
+ **Changes since vX.Y.Z:**
116
120
117
- Major changes:
121
+ Major changes:
118
122
119
- Behavior changes:
123
+ Behavior changes:
120
124
121
- Other enhancements:
125
+ Other enhancements:
122
126
123
- Bug fixes:
124
- ```
127
+ Bug fixes:
128
+ ~~~
125
129
126
130
### D: In the release candidate branch
127
131
@@ -229,9 +233,9 @@ Edit the draft
229
233
* For final releases (**not** release candidates) get the list of contributors
230
234
to the release and add it to the description. For example, use:
231
235
232
- ~~~
233
- $ git shortlog -s origin/release..HEAD|sed $'s/^[0-9 \t]*/* /'|grep -v azure-pipelines|LC_ALL=C sort -f
234
- ~~~
236
+ ~~~
237
+ $ git shortlog -s origin/release..HEAD|sed $'s/^[0-9 \t]*/* /'|grep -v azure-pipelines|LC_ALL=C sort -f
238
+ ~~~
235
239
236
240
Publish the GitHub release.
237
241
@@ -304,21 +308,21 @@ In either the `stable` branch or, in the case of a release candidate, the
304
308
* `ChangeLog.md`: Add an “Unreleased changes” section (update the “changes
305
309
since” version):
306
310
307
- ~~~
308
- ## Unreleased changes
311
+ ~~~
312
+ ## Unreleased changes
309
313
310
- Release notes:
314
+ Release notes:
311
315
312
- **Changes since vX.Y.Z:**
316
+ **Changes since vX.Y.Z:**
313
317
314
- Major changes:
318
+ Major changes:
315
319
316
- Behavior changes:
320
+ Behavior changes:
317
321
318
- Other enhancements:
322
+ Other enhancements:
319
323
320
- Bug fixes:
321
- ~~~
324
+ Bug fixes:
325
+ ~~~
322
326
323
327
### G: Update the repository's issue and pull request templates
324
328
@@ -353,22 +357,22 @@ Update the fpco/stack-build Docker images with new version:
353
357
containing (where `X.Z` is the previous LTS version, and `X.Y.Z` is the newly
354
358
released Stack version):
355
359
356
- ~~~
357
- FROM $DOCKER_REPO:lts-X.Z
358
- ARG STACK_VERSION=X.Y.Z
359
- RUN wget -qO- https://github.com/commercialhaskell/stack/releases/download/v$STACK_VERSION/stack-$STACK_VERSION-linux-x86_64.tar.gz | tar xz --wildcards --strip-components=1 -C /usr/local/bin '*/stack'
360
- ~~~
360
+ ~~~
361
+ FROM $DOCKER_REPO:lts-X.Z
362
+ ARG STACK_VERSION=X.Y.Z
363
+ RUN wget -qO- https://github.com/commercialhaskell/stack/releases/download/v$STACK_VERSION/stack-$STACK_VERSION-linux-x86_64.tar.gz | tar xz --wildcards --strip-components=1 -C /usr/local/bin '*/stack'
364
+ ~~~
361
365
362
366
* Run `./build.sh lts-X.Y` and then test that the new image has the new version
363
367
of Stack. For example:
364
368
365
- ~~~
366
- $ docker run --rm fpco/stack-build:lts stack --version
367
- ~~~
369
+ ~~~
370
+ $ docker run --rm fpco/stack-build:lts stack --version
371
+ ~~~
368
372
369
373
* Run the following command to push the new image to the registry:
370
374
371
- ~~~
372
- $ ./build.sh --push lts-X.Y
373
- $ ./build.sh --push --small lts-X.Y
374
- ~~~
375
+ ~~~
376
+ $ ./build.sh --push lts-X.Y
377
+ $ ./build.sh --push --small lts-X.Y
378
+ ~~~
0 commit comments