mirror of https://github.com/FOME-Tech/fome-fw.git
1.1 KiB
1.1 KiB
How to Release
- Create a release branch off master in the format
release_YYMM
, for examplerelease_2304
for a release in April 2023 - Create a tag on that branch in the format
release_YYMM_nn
wherenn
is a sequence number (so we can release a patch off the same branch later and they sort correctly). - Push the branch and tags
- Create a new release, upload all artifacts from the FW build
- Title the release
MMMMM YYYY Release
(likeApril 2023 Release
)
- Title the release
How to Release a Patch
patch releases should contain no new features or config changes, only bug fixes that actually matter
- Check out the previous release branch (created for the original release above)
- Cherry pick the bugfix(es) you want from master (or make the fix by hand)
- Create a tag in the format
release_YYMM_nn
wherenn
is incremented from the previous tag on that branch. For example, if the last tag wasrelease_2304_02
, create a tagrelease_2304_03
for the new patch. - Push the branch & tag
- Create a new release with artifacts from the FW build
- Title the release
MMMMM YYYY Release Patch n
(likeApril 2023 Release Patch 4
)
- Title the release