This document describes how to update the packaged versions of nitrocli.
- Clone the Git repository at ssh:https://[email protected]/nitrocli.git.
- Edit the
PKGBUILD
file:- Update the
pkgver
variable to the current nitrocli version. - If the
pkgrel
variable is not 1, set it to 1. - Update the SHA512 hash in the
sha512sums
variable for the new tarball.
- Update the
- Update the
.SRCINFO
file by runningmakepkg --printsrcinfo > .SRCINFO
. - Verify that the package builds successfully by running
makepkg
. - Verify that the package was built as expected by running
pacman -Qlp $f
andpacman -Qip $f
, where$f
isnitrocli-$pkgver.pkg.tar.gz
. - Check the package for errors by running
namcap PKGBUILD
andnamcap nitrocli-$pkgver.pkg.tar.gz
. - Add, commit, and push your changes to publish them in the AUR.
If you have to release a new package version without a new nitrocli version,
do not change the pkgver
variable and instead increment the pkgrel
variable.
For more information, see the Arch User Repository page in the Arch Wiki.
- Clone or fork the Git repository at https://salsa.debian.org/rust-team/debcargo-conf.
- Execute
./update.sh nitrocli
. - Check and, if necessary, update the Debian changelog in the file
src/nitrocli/debian/changelog
. - Verify that the package builds successfully by running
./build.sh nitrocli
in thebuild
directory. (This requires ansbuild
environment as described in theREADME.rst
file.) - Inspect the generated package by running
dpkg-deb --info
anddpkg-deb --contents
on it. - If you have push access to the repository, create the
src/nitrocli/debian/RFS
file to indicate thatnitrocli
can be updated. - Add and commit your changes. If you have push access, push them.
Otherwise create a merge request and indicate that
nitrocli
is ready for upload in its description.
For more information, see the Teams/RustPackaging page in the Debian Wiki and the README.rst file in the debcargo-conf repository.
For detailed information on the status of the Debian package, check the Debian Package Tracker.
The nitrocli
package for Ubuntu is automatically generated from the Debian
package. For detailed information on the status of the Ubuntu package, check
Launchpad.