pkgctl-version-upgrade(1)
=========================

Name
----
pkgctl-version-upgrade - Adjust the PKGBUILD to match the latest upstream version

Synopsis
--------
pkgctl version upgrade [OPTIONS] [PKGBASE...]

Description
-----------

Streamlines the process of keeping PKGBUILD files up-to-date with the latest
upstream versions.

Upon execution, it automatically adjusts the PKGBUILD file, ensuring that the
pkgver field is set to match the latest version available from the upstream
source. In addition to updating the pkgver, this command also resets the pkgrel
to 1 and updates checksums.

Outputs a summary of upgraded packages, up-to-date packages, and any check
failures.

This simplifies the maintenance of PKGBUILD files, reducing the manual effort
required to track and implement version changes from upstream sources.

Configuration
-------------

Uses nvchecker(1) and a `.nvchecker.toml` file located alongside the
PKGBUILD. Refer to the configuration section in pkgctl-version(1).

Options
-------

*--no-update-checksums*::
	Disable computation and update of the checksums

*-v, --verbose*::
	Display results including up-to-date versions

*-h, --help*::
	Show a help text

See Also
--------

pkgctl-version(1)
nvchecker(1)
updpkgsums(8)

include::include/footer.asciidoc[]
