forked from commercialhaskell/stack
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
48 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,15 @@ | ||
# Maintainer guide | ||
|
||
## Next release: | ||
|
||
* Integrate FreeBSD binaries and packages | ||
[#1253](https://github.com/commercialhaskell/stack/issues/1253#issuecomment-185993240) | ||
|
||
## Pre-release checks | ||
|
||
The following should be tested minimally before a release is considered good | ||
to go: | ||
|
||
* After GHC 8.0: maybe switch to Debian 8 and CentOS 6.7 Vagrant boxes for | ||
building Stack binaries (to match GHC bindists) and drop support for Debian 7. | ||
* Ensure `release` and `stable` branches merged to `master` | ||
* Integration tests pass on a representative Windows, Mac OS X, and Linux (Linux | ||
is handled by Jenkins automatically): `stack install --pedantic && stack test | ||
|
@@ -23,13 +26,16 @@ to go: | |
* stack.cabal: bump the version number to release (even third | ||
component) | ||
* ChangeLog: rename the "unreleased changes" section to the new version | ||
* Cut a release candidate branch from master | ||
* Cut a release candidate branch `rc/vX.Y.Z` from master | ||
* In master branch: | ||
* stack.cabal: bump version number to unstable (odd third component) | ||
* Changelog: add new "unreleased changes" section | ||
* stack.yaml: bump to use latest LTS version | ||
* stack.yaml: bump to use latest LTS version, and check whether extra-deps | ||
still needed | ||
* In RC branch: | ||
* Update the ChangeLog: | ||
* Update the ChangeLog | ||
([this comparison](https://github.com/commercialhaskell/stack/compare/release...master) | ||
is handy): | ||
* Check for any important changes that missed getting an entry in Changelog | ||
* Check for any entries that snuck into the previous version's changes | ||
due to merges | ||
|
@@ -45,7 +51,7 @@ to go: | |
[releases.yaml](https://github.com/fpco/stackage-content/blob/master/stack/releases.yaml), | ||
[install_and_upgrade.md](https://github.com/commercialhaskell/stack/blob/master/doc/install_and_upgrade.md), | ||
and | ||
[README.md](https://github.com/commercialhaskell/stack/blob/master/README.md) | ||
`README.md` | ||
|
||
## Release process | ||
|
||
|
@@ -55,11 +61,16 @@ for requirements to perform the release, and more details about the tool. | |
|
||
* Create a | ||
[new draft Github release](https://github.com/commercialhaskell/stack/releases/new) | ||
with tag `vX.Y.Z` (where X.Y.Z is the stack package's version) | ||
with tag and name `vX.Y.Z` (where X.Y.Z is the stack package's version), targetting the | ||
RC branch | ||
|
||
* On each machine you'll be releasing from, set environment variables: | ||
`GITHUB_AUTHORIZATION_TOKEN`, `AWS_ACCESS_KEY_ID`, `AWS_SECRET_ACCESS_KEY`, | ||
`AWS_DEFAULT_REGION` | ||
`AWS_DEFAULT_REGION`. | ||
|
||
Note: since one of the tools (rpm-s3 on CentOS) doesn't support AWS temporary | ||
credentials, you can't use MFA with the AWS credentials (`AWS_SECURITY_TOKEN` | ||
is ignored). | ||
|
||
* On a machine with Vagrant installed: | ||
* Run `etc/scripts/vagrant-releases.sh` | ||
|
@@ -81,7 +92,7 @@ for requirements to perform the release, and more details about the tool. | |
|
||
* Update the `stable` branch similarly | ||
|
||
* Delete the RC branch | ||
* Delete the RC branch (locally and on origin) | ||
|
||
* Publish Github release | ||
|
||
|
@@ -109,8 +120,8 @@ for requirements to perform the release, and more details about the tool. | |
|
||
* Merge any changes made in the RC/release/stable branches to master. | ||
|
||
* Announce to [email protected] [email protected] | ||
[email protected] mailing lists | ||
|
||
* Keep an eye on the | ||
[Hackage matrix builder](http://matrix.hackage.haskell.org/package/stack) | ||
|
||
* Announce to [email protected], [email protected], | ||
[email protected] mailing lists |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters