Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/src/pkgctl.in
diff options
context:
space:
mode:
authorLevente Polyak <anthraxx@archlinux.org>2022-12-17 01:51:15 +0100
committerLevente Polyak <anthraxx@archlinux.org>2023-05-19 22:27:13 +0200
commit5752488ef114513c8f75d753cf91d5b61dfa0660 (patch)
tree53b3fb27b343838efa3bcd70412cedc1c470d957 /src/pkgctl.in
parentb9db6160a2547a57d19308776a25223eb2130b6b (diff)
release: command to commit, tag and upload build artifacts
This is a smart and more convenient invocation of the classical commitpkg and archrelease with auto-discovery for target repositories and a shorthand option to directly call db-update.
Diffstat (limited to 'src/pkgctl.in')
-rw-r--r--src/pkgctl.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/pkgctl.in b/src/pkgctl.in
index d9e1b4c..47409de 100644
--- a/src/pkgctl.in
+++ b/src/pkgctl.in
@@ -22,6 +22,7 @@ usage() {
auth Authenticate with services like GitLab
db Pacman database modification for packge update, move etc
diff Compare package files using different modes
+ release Release step to commit, tag and upload build artifacts
repo Manage Git packaging repositories and their configuration
OPTIONS
@@ -75,6 +76,14 @@ while (( $# )); do
diffpkg "$@"
exit 0
;;
+ release)
+ _DEVTOOLS_COMMAND+=" $1"
+ shift
+ # shellcheck source=src/lib/release.sh
+ source "${_DEVTOOLS_LIBRARY_DIR}"/lib/release.sh
+ pkgctl_release "$@"
+ exit 0
+ ;;
*)
die "invalid command: %s" "$1"
;;