scripts/tarballs: gapk > v1.0: use make dist-bzip2

Use autotools logic to build tarballs for gapk above version v1.0.

Related: OS#6227
Change-Id: If9a04b458553e311cf8b891b204244db2b1ae2d8
This commit is contained in:
Oliver Smith 2023-10-26 11:03:51 +02:00
parent 3d2c3dd14c
commit b59c791d13
1 changed files with 16 additions and 7 deletions

View File

@ -11,13 +11,22 @@ fi
case "$PROJECT" in
gapk)
# Running gapk's configure involves running libgsmhr/fetch_sources.py,
# which according to git log doesn't really work unless using the
# version from master and it looks like we don't want to distribute
# these sources directly... or else we should just add them to the git
# repository and not rely on downloading a remote archive that may just
# change at any time. So create a simple git archive instead.
exit 1
case "$TAG" in
v0.*|v1.0)
# Running gapk's configure involves running libgsmhr/fetch_sources.py,
# which according to git log doesn't really work unless using the
# version from master and it looks like we don't want to distribute
# these sources directly... or else we should just add them to the git
# repository and not rely on downloading a remote archive that may just
# change at any time. So create a simple git archive instead.
exit 1
;;
*)
# Fixed above v1.0
# https://gerrit.osmocom.org/c/gapk/+/34892/1
exit 0
;;
esac
;;
*)
exit 0