Updated Creating a release (markdown)

This commit is contained in:
Andreas Rumpf 2019-02-01 11:30:14 +01:00
parent 2f473c14d6
commit 0b3e919377
1 changed files with 7 additions and 35 deletions

View File

@ -1,49 +1,21 @@
- Run the full testsuite (``tests\testament\tester all``) and ensure it's green; actually ensure travis is green (Usually the case these days)
- ensure travis and appveyor is green (Usually the case these days) for the release branch 0-19, 0-20, etc
- Update news.txt
- write a news ticker entry
- Update the version
- In system.nim
- Recompile koch!
- Generate the full docs; koch web0
- Test the installers: koch testinstall
- Tag the release, e.g. ```git tag -am "Version 0.15.0" v0.15.0```
- Push the tag: ```git push origin [tagname]```
- Run ``tools/winrelease``
For this you need to close VSCode so that 'nimsuggest' can be overwritten!
- Upload the produced .zips.
- Nightlies now build the binaries for us: https://github.com/nim-lang/nightlies/releases
- Ensure nightly builds exist
- Recompile koch!
- Generate the full docs; koch web0
- Merge devel into master
- Merge 0-19 branch into master
- Update csources via ``koch pushcsources``
**The following shell script shall be replaced by 'koch unixrelease'**
Shell script to build a source tarball:
```sh
#!/bin/sh
set -eu
tmp_dir=$(mktemp -d)
cd $tmp_dir
git clone -q --depth 1 https://github.com/nim-lang/Nim.git
cd Nim
git clone -q --depth 1 https://github.com/nim-lang/csources
( cd csources && sh build.sh )
bin/nim c koch
./koch boot -d:release
./koch web0
PATH=$PATH:$(pwd)/bin
./koch csource -d:release
./koch xz -d:release
```
## Website
### Uploading the binaries
- `scp nim-0.18.0.tar.xz username@servername:/var/www/nim-lang.org/download/nim-0.18.0.tar.xz` (change the version obviously)
- Upload the produced .zips. For example: `scp nim-0.18.0.tar.xz username@servername:/var/www/nim-lang.org/download/nim-0.18.0.tar.xz` (change the version obviously)
### Generating the sha256's