How to release

Last modified on Mon Jan 2 21:31:03 2017 UTC.   Improve this page

Check git repos

In scripts.git, run xpacks-git-status.mac.command to check which repositories need to be updated.

Commit git repos

With GitHub Desktop,

  • commit micro-os-plus-iii.git
  • possibly commit micro-os-plus-iii-cortexm.git, posix-arch.git, etc

Update the doxygen change log

With Eclipse, edit micro-os-plus-iii.git/doxygen/pages/changes-log.markdown

  • add new ### section, with version and date
  • copy from GitHub Desktop the relevant changes, in chronological order

Update the doxygen header version

With Eclipse, edit micro-os-plus-iii.git/doxygen/config.doxyfile.

Update os-versions.h

With Eclipse,

  • edit micro-os-plus-iii.git/include/os-versions.h, remove -beta

Update the xpack.json file

With Eclipse,

  • edit the micro-os-plus-iii.git/xpack.json and update the release number.

With Terminal, in project folder, update README.

$ xcdl update-readme

Run doxygen

With Eclipse,

  • select the micro-os-plus-iii project
  • click the @ button

If errors, fix them and repeat.

Check the jekyll site

In Finder,

  • double click the jekyll-serve.command
  • double click the localhost-4001.command

Verify the changed pages.

Add post to announce new release

  • in _posts/releases/
  • add a new post named file like 2016-11-27-micro-os-plus-v6-3-10-released.md

Build the jekyll site

In Finder,

  • double click the jekyll-build.command

Commit git repos

With SourceTree, update micro-os-plus-iii.git

  • select the develop branch
  • commit, message like v6.3.10
  • select the xpack branch
  • merge the develop branch
  • click the Push button, select both branches
  • select the develop branch

With SourceTree, update micro-os-plus-iii-cortexm.git

  • select the develop branch
  • commit, message like v6.3.10
  • select the xpack branch
  • merge the develop branch
  • click the Push button, select both branches
  • select the develop branch

With SourceTree, update micro-os-plus.github.io-source

  • commit, message like v6.3.10
  • click the Push button

Publish site

With GitHub Desktop,

  • commit micro-os-plus.github.io
  • click the Sync button

Update os-versions.h

With Eclipse,

  • edit include/os-versions.h, increment version, add -beta

With SourceTree, update micro-os-plus-iii.git

  • select the develop branch
  • commit, message like ‘os-version.h: 6.3.11-beta’