Difference between revisions of "DevGuide/Releasing"

From PaparazziUAV
Jump to navigation Jump to search
(how to create a release)
 
 
(One intermediate revision by one other user not shown)
Line 11: Line 11:
<li>Add the release on https://github.com/paparazzi/paparazzi/releases</li>
<li>Add the release on https://github.com/paparazzi/paparazzi/releases</li>
<li>As the tarballs that github automatically creates don't include the submodules, run
<li>As the tarballs that github automatically creates don't include the submodules, run
<source>
<source lang="bash">
./make_release_tarball.sh
./make_release_tarball.sh
mv paparazzi.tar paparazzi_vMAJOR.MINOR.PATCH_stable.tar
mv paparazzi.tar paparazzi_vMAJOR.MINOR.PATCH_stable.tar
Line 18: Line 18:
and upload this tarball to the github release
and upload this tarball to the github release
</li>
</li>
<li>Update Paparazzi front page and installation page</li>
<li>Update docs if a new stable branch: adjust [https://github.com/paparazzi/paparazzi.github.com/blob/master/index.html index.html] and add the branch to the [https://gist.github.com/flixr/4989376 pprz-update-dox.sh] script on odin.paparazziuav.org</li>
<li>Update docs if a new stable branch: adjust [https://github.com/paparazzi/paparazzi.github.com/blob/master/index.html index.html] and add the branch to the [https://gist.github.com/flixr/4989376 pprz-update-dox.sh] script on odin.paparazziuav.org</li>
</ol>
</ol>

Latest revision as of 07:04, 15 May 2020

Create new release

First of course the CHANGELOG should be updated.

Stable release series have an even MINOR number, ongoing development has an uneven MINOR number.

A stable release is generally done with the following steps:

  1. creating an annotated tag with vMAJOR.MINOR.PATCH_stable in git. If it is the first release of a MAJOR.MINOR series, also create the vMAJOR.MINOR branch.
  2. Add the release on https://github.com/paparazzi/paparazzi/releases
  3. As the tarballs that github automatically creates don't include the submodules, run
    ./make_release_tarball.sh
    mv paparazzi.tar paparazzi_vMAJOR.MINOR.PATCH_stable.tar
    gzip paparazzi_vMAJOR.MINOR.PATCH_stable.tar
    

    and upload this tarball to the github release

  4. Update Paparazzi front page and installation page
  5. Update docs if a new stable branch: adjust index.html and add the branch to the pprz-update-dox.sh script on odin.paparazziuav.org