2021-02-14 11:27:43 +00:00
|
|
|
# Release instructions
|
|
|
|
|
2024-09-11 10:22:24 +00:00
|
|
|
This documents outlines the frostfs-api release process and can be used as a TODO
|
2021-02-14 11:27:43 +00:00
|
|
|
list for a new release.
|
|
|
|
|
|
|
|
## Pre-release checks
|
|
|
|
|
2022-04-13 06:21:33 +00:00
|
|
|
This should run successfully:
|
2021-02-14 11:27:43 +00:00
|
|
|
* `make lint`
|
|
|
|
|
|
|
|
## Pre-release actions
|
|
|
|
|
2022-04-13 06:21:33 +00:00
|
|
|
This must be run:
|
2021-02-14 11:27:43 +00:00
|
|
|
* `make doc`
|
|
|
|
|
|
|
|
## Writing CHANGELOG
|
|
|
|
|
|
|
|
Add an entry to the CHANGELOG.md following the style established there.
|
|
|
|
|
2022-04-13 06:21:33 +00:00
|
|
|
Add a codename for releases with the new major version, version and release date in
|
2021-02-14 11:27:43 +00:00
|
|
|
the heading. Write a paragraph describing the most significant changes done in
|
2022-04-13 06:21:33 +00:00
|
|
|
this release. Then add sections with what has been added, changed and removed,
|
2024-11-06 09:50:32 +00:00
|
|
|
describing each change briefly with a reference to issues, where
|
2021-02-14 11:27:43 +00:00
|
|
|
available.
|
|
|
|
|
2021-08-16 14:45:23 +00:00
|
|
|
## Release commit
|
|
|
|
|
|
|
|
Release commit summary should follow the template:
|
|
|
|
|
|
|
|
`Release v<Version> - <Codename island> (<Hangeul>, <Hanja>)`, e.g.:
|
|
|
|
|
|
|
|
```
|
|
|
|
Release v2.9.0 - Anmyeondo (안면도, 安眠島)
|
|
|
|
```
|
|
|
|
|
2021-02-14 11:27:43 +00:00
|
|
|
## Tag the release
|
|
|
|
|
|
|
|
Use `vX.Y.Z` tag following the semantic versioning standard. For pre-release
|
|
|
|
versions use `vX.Y.Z-rc.N` scheme.
|
|
|
|
|
2024-11-06 09:50:32 +00:00
|
|
|
## Push changes and release tag to repository
|
2021-02-14 11:27:43 +00:00
|
|
|
|
|
|
|
This step should bypass the default PR mechanism to get a correct result (so
|
|
|
|
that releasing requires admin privileges for the project), both the `master`
|
|
|
|
branch update and tag must be pushed simultaneously like this:
|
|
|
|
|
|
|
|
```
|
|
|
|
$ git push origin master v2.7.0
|
|
|
|
```
|
|
|
|
|
2024-11-06 09:50:32 +00:00
|
|
|
## Make a proper release
|
2021-02-14 11:27:43 +00:00
|
|
|
|
2024-11-06 09:50:32 +00:00
|
|
|
Edit an automatically-created release on git.frostfs.info
|
2021-02-14 11:27:43 +00:00
|
|
|
|
|
|
|
Release title has to follow `<version> <Romanized codename> (<Hangeul, Hanja
|
|
|
|
codename> )` scheme for major releases and just `<version>` for regular point
|
|
|
|
releases.
|
|
|
|
|
|
|
|
## Post-release actions
|
|
|
|
|
2024-11-06 09:50:32 +00:00
|
|
|
* Close corresponding X.Y.Z milestone
|
2021-02-14 11:27:43 +00:00
|
|
|
* Make announcements in Matrix and Discord channels
|