From 0b3e91937762ce341ea3742ebd9a0ad876861ba9 Mon Sep 17 00:00:00 2001 From: Andreas Rumpf Date: Fri, 1 Feb 2019 11:30:14 +0100 Subject: [PATCH] Updated Creating a release (markdown) --- Creating-a-release.md | 42 +++++++----------------------------------- 1 file changed, 7 insertions(+), 35 deletions(-) diff --git a/Creating-a-release.md b/Creating-a-release.md index f10f940..939cf0e 100644 --- a/Creating-a-release.md +++ b/Creating-a-release.md @@ -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