2022-01-16 15:48
Follow these steps to make a release of Obnam.
release
branch.
git checkout -b release
cargo outdated -R
cargo update
cargo deny check
git log vX.Y.Y..
). Update the NEWS.md
file with any changes that users of Obnam need to be aware of.Cargo.toml
with the appropriate version number for the new release, following semantic versioning.debian/changelog
with a summary of any changes to the Debian packaging (it’s not necessary to repeat NEWS.md
here). Use the dch
command to edit the file to get the format right, since it’s quite finicky.
dch -v X.Y.Z-1 "New release."
dch "Changed this thing: foo."
dch -r ""
./check
Cargo.lock
after version change.
cargo update
cargo publish --dry-run
and fix any problems.After the above changes have been merged, do the following steps. You need to have sufficient access to both the gitlab.com project and the git.liw.fi project. Currently that means only Lars can do this. These steps can hopefully be automated in the future.
vX.Y.Z
for version X.Y.Z for the release commitgit tag -sam "Obnam version X.Y.Z" vX.Y.Z
gitlab.com
and git.liw.fi
(substitute whatever names you use for the remotes):git push --tags gitlab
git push --tags origin
cargo publish
#obnam
IRC channel