|
5 | 5 | The following should be tested minimally before a release is considered good |
6 | 6 | to go: |
7 | 7 |
|
8 | | -* After GHC 8.0: switch to Debian 8 and CentOS 6.7 Vagrant boxes for building Stack |
9 | | - binaries (to match GHC bindists) and drop support for Debian 7. |
| 8 | +* After GHC 8.0: maybe switch to Debian 8 and CentOS 6.7 Vagrant boxes for |
| 9 | + building Stack binaries (to match GHC bindists) and drop support for Debian 7. |
10 | 10 | * Ensure `release` and `stable` branches merged to `master` |
11 | | -* Integration tests pass on a representative sample of platforms: `stack install |
12 | | - --pedantic && stack test --pedantic --flag stack:integration-tests` . The actual |
13 | | - release script will perform a more thorough test for every platform/variant |
14 | | - prior to uploading, so this is just a pre-check |
15 | | -* Ensure `stack haddock` works |
| 11 | +* Integration tests pass on a representative Windows, Mac OS X, and Linux (Linux |
| 12 | + is handled by Jenkins automatically): `stack install --pedantic && stack test |
| 13 | + --pedantic --flag stack:integration-tests` . The actual release script will |
| 14 | + perform a more thorough test for every platform/variant prior to uploading, so |
| 15 | + this is just a pre-check |
| 16 | +* Ensure `stack haddock` works (Travis CI now does this) |
16 | 17 | * Stack builds with `stack-7.8.yaml` (Travis CI now does this) |
17 | 18 | * stack can build the wai repo |
18 | 19 | * Running `stack build` a second time on either stack or wai is a no-op |
19 | 20 | * Build something that depends on `happy` (suggestion: `hlint`), since `happy` |
20 | 21 | has special logic for moving around the `dist` directory |
21 | | -* Check for any important changes that missed getting an entry in Changelog |
22 | | -* In release candidate branch: |
23 | | - * Bump the version number (to even second-to-last component) in the .cabal |
24 | | - file |
| 22 | +* In master branch: |
| 23 | + * stack.cabal: bump the version number (to next even third component) |
| 24 | + * ChangeLog: rename the "unreleased changes" section to the new version |
| 25 | +* Cut a release candidate branch from master |
| 26 | +* In master branch: |
| 27 | + * stack.cabal: bump version to next odd third component |
| 28 | + * Changelog: add new "unreleased changes" section |
| 29 | + * stack.yaml: bump to use latest LTS version |
| 30 | +* In RC branch: |
25 | 31 | * Update the ChangeLog: |
26 | | - * Rename the "unreleased changes" section to the new version |
| 32 | + * Check for any important changes that missed getting an entry in Changelog |
27 | 33 | * Check for any entries that snuck into the previous version's changes |
28 | 34 | due to merges |
29 | | -* In master branch: |
30 | | - * Bump version to next odd second-to-last component |
31 | | - * Add new "unreleased changes" section in changelog |
32 | | - * Bump to use latest LTS version |
33 | | -* Review documentation for any changes that need to be made |
34 | | - * Search for old Stack version, unstable stack version, and the next |
35 | | - "obvious" version in sequence (if doing a non-obvious jump) and replace |
36 | | - with new version |
37 | | - * Look for any links to "latest" documentation, replace with version tag |
38 | | - * Ensure all inter-doc links use `.html` extension (not `.md`) |
39 | | - * Ensure all documentation pages listed in `doc/index.rst` |
40 | | -* Check that any new Linux distribution versions added to |
41 | | - `etc/scripts/release.hs` and `etc/scripts/vagrant-releases.sh` |
42 | | -* Check that no new entries need to be added to |
43 | | - [releases.yaml](https://github.com/fpco/stackage-content/blob/master/stack/releases.yaml), |
44 | | - [install_and_upgrade.md](https://github.com/commercialhaskell/stack/blob/master/doc/install_and_upgrade.md), |
45 | | - and |
46 | | - [README.md](https://github.com/commercialhaskell/stack/blob/master/README.md) |
| 35 | + * Review documentation for any changes that need to be made |
| 36 | + * Search for old Stack version, unstable stack version, and the next |
| 37 | + "obvious" version in sequence (if doing a non-obvious jump) and replace |
| 38 | + with new version |
| 39 | + * Look for any links to "latest" documentation, replace with version tag |
| 40 | + * Ensure all inter-doc links use `.html` extension (not `.md`) |
| 41 | + * Ensure all documentation pages listed in `doc/index.rst` |
| 42 | + * Check that any new Linux distribution versions added to |
| 43 | + `etc/scripts/release.hs` and `etc/scripts/vagrant-releases.sh` |
| 44 | + * Check that no new entries need to be added to |
| 45 | + [releases.yaml](https://github.com/fpco/stackage-content/blob/master/stack/releases.yaml), |
| 46 | + [install_and_upgrade.md](https://github.com/commercialhaskell/stack/blob/master/doc/install_and_upgrade.md), |
| 47 | + and |
| 48 | + [README.md](https://github.com/commercialhaskell/stack/blob/master/README.md) |
47 | 49 |
|
48 | 50 | ## Release process |
49 | 51 |
|
@@ -81,7 +83,7 @@ for requirements to perform the release, and more details about the tool. |
81 | 83 |
|
82 | 84 | * Publish Github release |
83 | 85 |
|
84 | | -* Upload package to Hackage: `stack upload . --pvp-bounds=both` |
| 86 | +* Upload package to Hackage: `stack upload .` |
85 | 87 |
|
86 | 88 | * Upload haddocks to Hackage: `etc/scripts/upload-haddocks.sh` |
87 | 89 |
|
|
0 commit comments