diff options
author | Oliver Smith <osmith@sysmocom.de> | 2021-04-29 09:50:42 +0200 |
---|---|---|
committer | Oliver Smith <osmith@sysmocom.de> | 2021-04-29 11:03:00 +0200 |
commit | 57a07962f6b85be6c7e0c312d3f36aa2c3bc4920 (patch) | |
tree | 52a2f0167a5e106934f4e17421a27a00ea265539 /scripts | |
parent | e8f56403fcaf3aee928c82276eb0595b7d97117f (diff) |
Cosmetic: OBS: describe build() parameters
Change-Id: Ib50499d6d3bd862879eaff58c9bf2260afc97ff8
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/osmocom-latest-packages.sh | 3 | ||||
-rwxr-xr-x | scripts/osmocom-nightly-packages.sh | 6 |
2 files changed, 9 insertions, 0 deletions
diff --git a/scripts/osmocom-latest-packages.sh b/scripts/osmocom-latest-packages.sh index 8eef259..8c979ef 100755 --- a/scripts/osmocom-latest-packages.sh +++ b/scripts/osmocom-latest-packages.sh @@ -61,6 +61,9 @@ checkout() { fi } +# Generate a source package and upload it to OBS +# $1: package name (e.g. "libosmocore") +# $2: arguments to pass to "gbp buildpackage" build() { project=$1 gitbpargs="$2" diff --git a/scripts/osmocom-nightly-packages.sh b/scripts/osmocom-nightly-packages.sh index bc45188..a51ef55 100755 --- a/scripts/osmocom-nightly-packages.sh +++ b/scripts/osmocom-nightly-packages.sh @@ -112,6 +112,12 @@ checkout() { cd - } +# Generate a source package and upload it to OBS +# $1: package name (e.g. "libosmocore") +# $2: update debian dir when set to "commit" (default): +# * add dependency on osmocom-$FEED package +# * add new version to changelog (e.g. "1.5.1.96.c96d7.202104281354") +# $3: arguments to pass to "gbp buildpackage" build() { local name=$1 local changelog=$2 |