~aleteoryx/muditaos

ref: 68d5656185484eb00249079c3d6bc92cf021e03d muditaos/doc/release.md -rw-r--r-- 1.5 KiB
68d56561 — Wojtek Cichoń Small changes to the GUI article (#778) 5 years ago

#Release

#Create new release

#Checkout commit to make release of

Usually this will be the current master/HEAD

git checkout master
git pull --ff-only

#Run the tests

Run all required tests

#Tag Release

After testing the commit on device you have to tag current commit:

git tag release-x.y.z

Tag has to start with release- pefix otherwise it will not be treated as a commit to create release from.

#Push the Tempo

Then you have to push the tag to the repository:

git push origin release-x.y.z

Pushing the tag to Github will start the release process, which will try to do following steps:

  • check the style
  • build linux UT and run them
  • build RT1051 and package it
  • create draft release on Github
  • upload RT1051 package to the release

To track the progress you can look at actions After release is successfully build you have to manually publish it on github releases page

#Delete release:

#Delete the release

On release page click the release title, in it's subpage on the top right you will see the "Delete" button -> click it.

#Delete the tag

#Delete local tag

git tag --delete release-x.y.z

#Delete remote tag

Delete with --delete flag

git push --delete origin release-x.y.z

or by refs syntax

git push origin :refs/tags/release-x.y.z