X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=Releasing;h=4e76d791887235ddb2ca095ab7e65b7c95936ed1;hb=97b80e3fef28d367a5ed1d18893accd1416cdf3f;hp=b6184dc36cb15c31e36f23f5fdc329980cfb10ef;hpb=2439f53ea21c84f7c510dc191dde025ada24281f;p=fw%2Faltos diff --git a/Releasing b/Releasing index b6184dc3..4e76d791 100644 --- a/Releasing +++ b/Releasing @@ -1,31 +1,47 @@ These are Bdale's notes on how to do a release. + - make sure there's a suitable ARM Cortex toolchain in /opt/cortex! + git checkout master + + - make sure there is a doc/release-notes-.xsl + - make sure that doc/altusmetrum.xsl has the right copyright year, + and add release to the revision history at the front (release notes + will be pulled in automatically) + - update the version in configure.ac - git log > ChangeLog - git commit -a - - make absolutely sure checked-out tree is "clean" + - make absolutely sure checked-out tree is "clean" (commit as needed) - if this is an x.y release, then: git checkout -b branch- - git tag -a - if this is an x.y.z release, then: git checkout branch- # the x.y parts only git merge master - git tag -a # full x.y.z version - - edit .git/gbp.conf to use branch- as upstream if needed + git log > ChangeLog + git commit -a + + git tag -a git checkout debian git merge branch- + - edit .git/gbp.conf to use branch- as upstream and debian + as packaging branch, if needed + - verify debian/changelog is "clean" ending in last release version - craft a suitable debian/changelog entry, possibly using: git-dch --release --new-version=-1 --multimaint-merge git commit -n debian/changelog -m "update changelog for Debian build" - git-buildpackage --git-no-pristine-tar - pristine-tar commit ../build-area/altos/altos_.orig.tar.gz + - if this is a -1 release, then + git-buildpackage --git-no-pristine-tar + pristine-tar commit \ + ../build-area/altos/altos_.orig.tar.gz \ + branch- + else if this is not a -1 release + git-buildpackage + git tag debian/ - at this point we have packages in ~/debian/build-area/altos, now @@ -50,7 +66,7 @@ These are Bdale's notes on how to do a release. this pushes fresh documents to the web site sudo debian/rules clean - git push + git push origin master branch-1.1 debian git push --tags push commits and leave the build tree in an uncluttered state