... | @@ -65,7 +65,87 @@ $ make |
... | @@ -65,7 +65,87 @@ $ make |
|
```
|
|
```
|
|
|
|
|
|
```wiki
|
|
```wiki
|
|
$ <</path/to/ghc/tree>>/distrib/compare <<previous_release_files>> <<this_release_files>>
|
|
$ <</path/to/ghc/tree>>/distrib/compare/compare <<previous_release_files>> <<this_release_files>>
|
|
```
|
|
```
|
|
|
|
|
|
## Check that the build can build the release |
|
## Check that the build can build the release
|
|
\ No newline at end of file |
|
|
|
|
|
|
|
|
|
Install the release, set your `$PATH`, then just untar and:
|
|
|
|
|
|
|
|
```wiki
|
|
|
|
$ ./configure
|
|
|
|
$ make
|
|
|
|
```
|
|
|
|
|
|
|
|
## Create and upload the library documentation
|
|
|
|
|
|
|
|
```wiki
|
|
|
|
haskell.org$ mkdir /srv/web/haskell.org/ghc/docs/<<VERSION>>
|
|
|
|
```
|
|
|
|
|
|
|
|
```wiki
|
|
|
|
$ <</path/to/ghc/tree>>/distrib/mkDocs/mkDocs ghc-*-x86_64-unknown-linux.tar.bz2 ghc-*-i386-unknown-mingw32.tar.bz2
|
|
|
|
$ cd docs
|
|
|
|
$ scp * haskell.org:/srv/web/haskell.org/ghc/docs/<<VERSION>>
|
|
|
|
```
|
|
|
|
|
|
|
|
```wiki
|
|
|
|
haskell.org$ cd /srv/web/haskell.org/ghc/docs/<<VERSION>>
|
|
|
|
haskell.org$ mkdir html
|
|
|
|
haskell.org$ cd html
|
|
|
|
haskell.org$ mv ../index.html .
|
|
|
|
haskell.org$ for i in ../*.tar.bz2; do tar -jxf $i; done
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
Sanity check `http://www.haskell.org/ghc/docs/<<VERSION>>/`. In particular, check that the libraries docs include both Win32 and unix.
|
|
|
|
|
|
|
|
## Prepare the webpage
|
|
|
|
|
|
|
|
|
|
|
|
In the `http://www.haskell.org/ghc` darcs repository, create a `download_ghc_<<MANGLED_VERSION>>.shtml` page based on the previous one.
|
|
|
|
|
|
|
|
|
|
|
|
Sanity check `http://www.haskell.org/ghc/download_ghc_<<MANGLED_VERSION>>`. In particular, check that the release notes and documentation links work.
|
|
|
|
|
|
|
|
## Upload the binaries
|
|
|
|
|
|
|
|
```wiki
|
|
|
|
scp -r 7.6.2 haskell.org:/srv/web/haskell.org/ghc/dist/
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
Sanity check that the download links work.
|
|
|
|
|
|
|
|
## Announcing
|
|
|
|
|
|
|
|
|
|
|
|
Update "Current Stable Release" in `download.shtml`, and move the previous release down to "Older Releases".
|
|
|
|
|
|
|
|
|
|
|
|
Update "Latest News" in `index.shtml`.
|
|
|
|
|
|
|
|
```wiki
|
|
|
|
haskell.org$ ~/mk-latest-links
|
|
|
|
haskell.org$ ~/mk-latest-links | sh
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
Mail `ANNOUNCE` to `glasgow-haskell-users@haskell.org, haskell@haskell.org`, subject `ANNOUNCE: GHC version <<VERSION>>`.
|
|
|
|
|
|
|
|
## Tagging repositories
|
|
|
|
|
|
|
|
|
|
|
|
Set `RELEASE` back to `NO` and commit.
|
|
|
|
|
|
|
|
```wiki
|
|
|
|
./sync-all tag ghc-7.6.2-release
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
Also `git tag <<LIBRARY>>-<<VERSION>>-release`[libraries that we maintain](repositories) (other than `ghc-prim`).
|
|
|
|
|
|
|
|
```wiki
|
|
|
|
./sync-all push --tags
|
|
|
|
``` |
|
|
|
\ No newline at end of file |