Skip to content

Latest commit

 

History

History
62 lines (43 loc) · 1.31 KB

RELEASE.md

File metadata and controls

62 lines (43 loc) · 1.31 KB

Release procedure

This document describes how to release a new version of moco-agent.

Versioning

Follow semantic versioning 2.0.0 to choose the new version number.

Prepare change log entries

Add notable changes since the last release to CHANGELOG.md. It should look like:

(snip)
## [Unreleased]

### Added
- Implement ... (#35)

### Changed
- Fix a bug in ... (#33)

### Removed
- Deprecated `-option` is removed ... (#39)

(snip)

Bump version

  1. Determine a new version number. Let it write $VERSION as VERSION=x.y.z.

  2. Make a branch to release

    $ git neco dev "$VERSION"
  3. Edit CHANGELOG.md for the new version (example).

  4. Commit the change and push it.

    $ git commit -a -m "Bump version to v$VERSION"
    $ git neco review
  5. Merge this branch.

  6. Add a git tag to the main HEAD, then push it.

    $ git checkout main
    $ git pull
    $ git tag -a -m "Release v$VERSION" "v$VERSION"
    $ git push origin "v$VERSION"

GitHub actions will build and push artifacts such as container images and create a new GitHub release.