56 lines
1.1 KiB
Plaintext
56 lines
1.1 KiB
Plaintext
This document provides a step-by-step reminder for making a Cthulhu release.
|
|
|
|
PREPARE SOURCES:
|
|
----------------
|
|
|
|
Make sure you are up to date and clean:
|
|
|
|
git pull
|
|
git status
|
|
|
|
Decide the release version:
|
|
|
|
- Update the version in `meson.build`
|
|
- Update the version in `src/cthulhu/cthulhuVersion.py`
|
|
|
|
Update release notes:
|
|
|
|
- Update `NEWS` (or your preferred changelog location) with user-visible changes.
|
|
|
|
|
|
BUILD + SANITY CHECK:
|
|
---------------------
|
|
|
|
Build with Meson:
|
|
|
|
meson setup _build_release --prefix=/usr --buildtype=release
|
|
meson compile -C _build_release
|
|
|
|
Optional sanity checks:
|
|
|
|
python3 -m compileall -q src/cthulhu
|
|
meson test -C _build_release # may be empty
|
|
|
|
Create a source tarball:
|
|
|
|
meson dist -C _build_release
|
|
|
|
|
|
TAG + PUSH:
|
|
-----------
|
|
|
|
Commit release changes, tag, and push:
|
|
|
|
git commit -a
|
|
git push
|
|
git tag -a v<version>
|
|
git push origin v<version>
|
|
|
|
|
|
PACKAGING NOTES:
|
|
----------------
|
|
|
|
Arch packaging lives in `distro-packages/Arch-Linux/PKGBUILD`.
|
|
If the package version is derived from `src/cthulhu/cthulhuVersion.py`,
|
|
ensure that file matches the release version.
|