~aleteoryx/muditaos

ref: 2a53becd2524fc0dba7260632d3ec409eb3a61fd muditaos/doc/release.md -rw-r--r-- 1.5 KiB
2a53becd — Maciej Janicki [BH-1136] Fix bootloop after low power 4 years ago

#How to create and delete a MuditaOS release

#Creating a new release

  1. Checkout the commit to make the release of - usually this will be the current master/HEAD
git checkout master
git pull --ff-only
  1. Run all required tests

  2. Tag the release. After testing the commit on a device you have to tag current commit:

git tag release-x.y.z

Release tag has to start with release- prefix, otherwise it will not be treated as a commit to create the release from.

  1. 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 complete the 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 GitHub actions

After the release is successfully build you have to manually publish it on GitHub releases page

#Deleting an existing release

  1. Delete the release by clicking on the release title on the release page. In its subpage in the top right corner you will see the Delete button -> click it.

  2. Delete the tags.

  • Delete local tag:
git tag --delete release-x.y.z
  • Delete remote tag:
git push --delete origin release-x.y.z

OR

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