aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorOliver Smith <osmith@sysmocom.de>2021-04-29 09:50:42 +0200
committerOliver Smith <osmith@sysmocom.de>2021-04-29 11:03:00 +0200
commit57a07962f6b85be6c7e0c312d3f36aa2c3bc4920 (patch)
tree52a2f0167a5e106934f4e17421a27a00ea265539 /scripts
parente8f56403fcaf3aee928c82276eb0595b7d97117f (diff)
Cosmetic: OBS: describe build() parameters
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/osmocom-latest-packages.sh3
-rwxr-xr-xscripts/osmocom-nightly-packages.sh6
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