-
Notifications
You must be signed in to change notification settings - Fork 137
release a version
This page describes how to release a new version of CPU-X.
CPU-X versioning is following Semantic Versioning Specification (SemVer). There is not really an API (excepted a command line interface), so MAJOR is bumped only if there are big changes.
Assuming a bump from vX.X.X to vX.X.Y, do following steps:
- Open the
CMakeLists.txt
at the root directory, then updateVERSION
inproject()
:
project(cpu-x
VERSION "X.X.Y"
LANGUAGES C CXX
)
-
Add
<release>
indata/io.github.thetumultuousunicornofdarkness.cpu-x.appdata.xml
file. -
Update
ChangeLog.md
by adding a new section:
---
## [vX.X.Y] - 20XX-XX-XX
### Added
-
### Changed
-
### Deprecated
-
### Removed
-
### Fixed
-
### Security
-
Then, fill these sections. You can list all commits since last version by using a command like that:
git switch master
git log --graph --decorate --oneline --color --first-parent master $(git describe --tags --abbrev=0) | grep -Ev "Regen POT file|Update translation files|Translated using Weblate|Added translation using Weblate" | less
Refer to Keep a Changelog for Types of changes. Once done, remove empty sections.
- Commit and push changes:
echo -n "Enter version: " ; read VERSION
git commit -am "Release version $VERSION"
git tag v$VERSION
git push --atomic origin master v$VERSION
-
Wait until AppImage Versioned workflow exit with success. Then, go to Releases and edit the Draft.
Fill release notes and publish the release. -
Update AUR packages:
- Update Flatpak on Flathub.
- Gallery
- Get and install CPU-X
- Useful pages
- Developers zone
- Other pages