tarballs: add osmo_dia2gsup
Change-Id: I9cbd3d3ce27a4b4c9c8e19b2876386d170d4f0a6
diff --git a/scripts/common.sh b/scripts/common.sh
index ea106e2..1081859 100644
--- a/scripts/common.sh
+++ b/scripts/common.sh
@@ -142,6 +142,9 @@
osmo-isdntap)
echo "$OSMO_GIT_URL_GITEA"/retronetworking/"$1"
;;
+ osmo_dia2gsup)
+ echo "$OSMO_GIT_URL_GERRIT"/erlang/"$1"
+ ;;
*)
echo "$OSMO_GIT_URL_GERRIT"/"$1"
;;
diff --git a/scripts/tarballs/publish-tarballs-for-tags.sh b/scripts/tarballs/publish-tarballs-for-tags.sh
index c185c21..4ef3b5f 100755
--- a/scripts/tarballs/publish-tarballs-for-tags.sh
+++ b/scripts/tarballs/publish-tarballs-for-tags.sh
@@ -42,6 +42,7 @@
osmo-sysmon
osmo-trx
osmo-uecups
+ osmo_dia2gsup
osmocom-bb
rtl-sdr
simtrace2
@@ -240,6 +241,11 @@
cd /src/$project_path
+ # Erlang projects: download build depends
+ if [ -e contrib/generate_build_dep.sh ]; then
+ su build -c \"HOME=/build contrib/generate_build_dep.sh\"
+ fi
+
if /tarballs/prefer-configure.sh \"$repo\" \"$tag\"; then
su build -c \"autoreconf -fi\"
case \"$repo\" in
@@ -255,6 +261,11 @@
else
su build -c \"git archive -o $tarball_name $tag\"
fi
+
+ # Erlang projects: add build depends to release tarball
+ if [ -e build_dep.tar.gz ]; then
+ su build -c \"tar -rf $tarball_name build_dep.tar.gz\"
+ fi
"; then
echo "$LOG_PREFIX Building tarball failed!"
exit 1