← 返回命令列表

Linux command

pkgctl-release 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Release a package with a commit message

pkgctl release -m "[commit message]"

Release and automatically update the pacman database

pkgctl release --db-update -m "[commit message]"

Release to the staging repository

pkgctl release --staging -m "[commit message]"

Release to the testing repository

pkgctl release --testing -m "[commit message]"

说明

pkgctl release performs the release step to commit, tag, and upload build artifacts to Arch Linux repositories. It automates the workflow of finalizing package releases. The command handles version tagging, source commits, and artifact upload as a single coordinated operation. By default, artifacts are uploaded to the user's staging directory on repos.archlinux.org and a signed tag is created on the packages git repository. To also update the binary package repository, pass `--db-update` or use `pkgctl db update` separately.

参数

-m, --message _message_
Commit message for the release.
-u, --db-update
Automatically update the pacman database as the last action.
-s, --staging
Release to the staging repository.
-t, --testing
Release to the testing repository.
-h, --help
Show help text.

FAQ

What is the pkgctl-release command used for?

pkgctl release performs the release step to commit, tag, and upload build artifacts to Arch Linux repositories. It automates the workflow of finalizing package releases. The command handles version tagging, source commits, and artifact upload as a single coordinated operation. By default, artifacts are uploaded to the user's staging directory on repos.archlinux.org and a signed tag is created on the packages git repository. To also update the binary package repository, pass `--db-update` or use `pkgctl db update` separately.

How do I run a basic pkgctl-release example?

Run `pkgctl release -m "[commit message]"` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -m, --message _message_ do in pkgctl-release?

Commit message for the release.