summaryrefslogtreecommitdiff
path: root/src/pkgctl.in
diff options
context:
space:
mode:
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"
;;