MT#63742 Hook post-build action into main ngcpcfg script

We need to hook the post-build action into the main ngcpcfg script,
otherwise we cannot call it standalone, nor get help about it.

Fixes: commit ad0cf94b46
Change-Id: I9a1173ac88d0f13797b50bad7fdaa3539752a903
master
Guillem Jover 2 months ago
parent cb109c45e3
commit 4b40fee978

@ -101,6 +101,9 @@ _ngcpcfg()
fi
return
;;
post-build)
return
;;
pull)
return
;;

@ -50,7 +50,7 @@ usage() {
printf "Usage: %s <action> [<opts>]
Actions:
apply [<msg>] a short-cut for build-services-commit
apply [<msg>] a short-cut for build/post-build/services/commit
build [<opts>] generate/update configuration files
cat [<types>] print YAML configuration files
check [<path>] validate YAML configuration files
@ -64,6 +64,7 @@ Actions:
initialise initialise setup (to be executed only once on setup)
log [<opts>] show log of config changes
patch [<opts>] create customtt files using patchtt and templates
post-build perform needed actions after building files
services [<opts>] execute service handlers for modified configuration files
set [<opts>] set YAML option in defined file
show [<id>] show latest config change (or <id> if specified)
@ -173,6 +174,7 @@ case ${1:-} in
clean|\
commit|\
encrypt|\
post-build|\
pull|\
push|\
push-parallel|\

Loading…
Cancel
Save