From c7aed7b90e4f306afb1b09664de0c1e70b962f26 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sun, 20 Dec 2015 10:21:04 +0200 Subject: Add release scripts, doc --- release.txt | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 release.txt (limited to 'release.txt') diff --git a/release.txt b/release.txt new file mode 100644 index 0000000..1279c7d --- /dev/null +++ b/release.txt @@ -0,0 +1,63 @@ +TODO +==== + +@@ Run tests in each project/package + +Setup +===== + +- Set passwordless sudo, logins to freebsd, cppget1 + +- Make symlinks to development b, bpkg in /usr/local/bin/, used as the latest + toolchain. + +- Boot cppget1, freebsd VMs, make sure data/time is correct. + +- Build new prerequisites (if any) on local, freebsd (install to /usr/local). + +Preparation +=========== + +- Copy new/updated prerequisites into build2-X.Y/ + +! Need to regenerate ODB files? + +Process +======= + +- Generate distribution (use -t for toolchain-only, without brep) + + etc/dist 2>&1 | tee dist.log + +- Stage packages to cppget1 host + + etc/stage + +- Determine the earliest supported toolchain (see requires: in manifests), + update ./test + +- Test + + etc/test 2>&1 | tee test.log + grep -i warning test.log + +- Upgrade brep on cppget1 (using pkg.cppget1), verify works + +- Publish to production (build2.org/cppget.org) + + etc/publish + +- Test production and save a copy of toolchain in etc1/install/X.Y.Z + + etc/install -i "etc1/install/`cat build2-toolchain/version`" \ + http://download.build2.org/0.1/build2-toolchain-0.1.0.tar.gz \ + http://pkg.cppget.org/1/alpha + +- Upgrade brep on cppget.org (using pkg.cppget.org), verify works + +- Tag + + etc/tag + ./push.sh + +- Commit and push cppget.org -- cgit v1.1