osmith submitted this change.
OBS: update_obs_eclipse_titan: update
* Set the branch as argument instead of hardcoding it.
* Don't use --version-append, the ~osmocom part will be added to
debian/changelog instead when pushing new versions.
* Add usage description.
Change-Id: I6580ce81e092299850f177110e130ac1847e05a7
---
M scripts/obs/update_obs_eclipse_titan.sh
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/scripts/obs/update_obs_eclipse_titan.sh b/scripts/obs/update_obs_eclipse_titan.sh
index 6efb7c6..2439777 100755
--- a/scripts/obs/update_obs_eclipse_titan.sh
+++ b/scripts/obs/update_obs_eclipse_titan.sh
@@ -3,7 +3,15 @@
DIR="$(realpath "$(dirname "$0")")"
PROJ="$1"
GIT_URL="https://gitea.osmocom.org/osmith/titan.core"
-CHECKOUT="osmocom/9.0.0"
+CHECKOUT="$2"
+
+if [ $# != 2 ]; then
+ echo "usage:"
+ echo " update_obs_eclipse_titan.sh PROJ CHECKOUT"
+ echo "example:"
+ echo " update_obs_eclipse_titan.sh home:osmith:latest osmocom/11.0.0"
+ exit 1
+fi
prepare_git_repo() {
cd "$DIR"
@@ -27,7 +35,6 @@
--allow-unknown-package \
--git-skip-checkout \
--git-skip-fetch \
- --version-append "~osmocom" \
"$PROJ" \
eclipse-titan
}
To view, visit change 40382. To unsubscribe, or for help writing mail filters, visit settings.