diff options
-rw-r--r-- | bugfix.txt | 50 | ||||
-rwxr-xr-x | publish | 11 |
2 files changed, 58 insertions, 3 deletions
diff --git a/bugfix.txt b/bugfix.txt new file mode 100644 index 0000000..db67c84 --- /dev/null +++ b/bugfix.txt @@ -0,0 +1,50 @@ + +- See if makes sense to cherry-pick other fixes/changes + +- Update NEWS + +- Update version in vesion, manifest, build/bootstrap.build, version.hxx + +- Regenerate odb.sh, cli.sh + +- b 'dist(<proj>-default/)' + + sha256sum -b ... + copy to build-0.X, cppget.org/.../queue + +- Regenerate queue using current release toolchain + + cd cppget.org + ./update -t ../etc1/install/0.X.0 repository/1/queue/ + + ./test -t ../etc1/install/0.X.0 -c cxx \ + -c config.cxx.loptions=-L/usr/local/lib \ + -c config.cxx.poptions="-I/usr/include/apache2 -I/usr/include/apr-1.0" \ + repository/1/queue/ + +- Stage queue + + etc/stage + +- Perform any additional tests on queue (depending on the project) + +- Move packages from queue to alpha, regenerate repositories. + + cd cppget.org + ./update -t ../etc1/install/0.X.0 repository/1/ + +- Publish to production (build2.org/cppget.org). + + etc/publish 0.X + +- Might need to rebuild a copy of the toolchain (see release.txt) + +- Commit, tag, and push project + + git tag -a X.Y.Z -m "Tag version X.Y.Z" + +- Commit and push cppget.org + +- Write and send announcements, remember to include checksum. + +- Checkout master, regenerate odb.sh, cli.sh @@ -2,9 +2,9 @@ # Publish build2 to build2.org/cppget.org (and brep.cppget.org). # -# Usage: publish [<rsync-options>] +# Usage: publish [<ver>] [<rsync-options>] # -usage="$0 [<rsync-options>]" +usage="$0 [<ver>] [<rsync-options>]" owd=`pwd` trap "{ cd $owd; exit 1; }" ERR @@ -13,7 +13,12 @@ set -o errtrace # Trap in functions. function info () { echo "$*" 1>&2; } function error () { info "$*"; exit 1; } -v=`sed -e 's/^\(.*\)\.\(.*\)\..*$/\1.\2/' build2-toolchain/version` +if [[ $# -ne 0 && "$1" != -* ]]; then + v="$1" + shift +else + v=`sed -e 's/^\(.*\)\.\(.*\)\..*$/\1.\2/' build2-toolchain/version` +fi if [ -z "$v" ]; then error "unable to extract version from `cat build2-toolchain/version`" |