[S] Change in osmo-ci[master]: manuals: publish pyosmocom manuals for releases
laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ci/+/38251?usp=email ) Change subject: manuals: publish pyosmocom manuals for releases ...................................................................... manuals: publish pyosmocom manuals for releases Adjust the building and publishing commands to work for pyosmocom. Remove the 0.0.3 release from TAGS_IGNORE, because it already has manuals. Skip "apt-get -y build-dep" and adjusting "debian/control" if that file does not exist, as it is the case with the 0.0.3 and 0.0.4 releases of pyosmocom. Change-Id: I3799cf825937cdd8dfca9fbd98e8b6b159f7cea8 --- M scripts/manuals/publish-manuals-for-tags.sh 1 file changed, 13 insertions(+), 4 deletions(-) Approvals: Jenkins Builder: Verified pespin: Looks good to me, but someone else must approve laforge: Looks good to me, approved diff --git a/scripts/manuals/publish-manuals-for-tags.sh b/scripts/manuals/publish-manuals-for-tags.sh index 690eafc..50b7a3b 100755 --- a/scripts/manuals/publish-manuals-for-tags.sh +++ b/scripts/manuals/publish-manuals-for-tags.sh @@ -203,7 +203,6 @@ pyosmocom:0.0.1, pyosmocom:0.0.2, - pyosmocom:0.0.3, " mkdir -p \ @@ -331,8 +330,10 @@ git clean -dxf # Fix depends on packages that don't exist anymore - sed -i 's/dh-systemd \(.*\),//g' debian/control - sed -i 's/python-minimal,//g' debian/control + if [ -e debian/control ]; then + sed -i 's/dh-systemd \(.*\),//g' debian/control + sed -i 's/python-minimal,//g' debian/control + fi } # $1: repository @@ -367,7 +368,9 @@ # Install dependencies case $repo in *) - apt-get -y build-dep /build + if [ -e debian/control ]; then + apt-get -y build-dep /build + fi ;; esac @@ -386,6 +389,9 @@ osmo-epdg) su build -c \"make -C docs/manuals\" ;; + pyosmocom) + su build -c \"make -C docs html latexpdf\" + ;; *) su build -c \"autoreconf -fi\" su build -c \"./configure $configure_opts\" @@ -404,6 +410,9 @@ osmo-epdg) su build -c \"make -C docs/manuals publish\" ;; + pyosmocom) + su build -c \"make -C docs publish publish-html\" + ;; *) su build -c \"make -C doc/manuals publish\" ;; -- To view, visit https://gerrit.osmocom.org/c/osmo-ci/+/38251?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: merged Gerrit-Project: osmo-ci Gerrit-Branch: master Gerrit-Change-Id: I3799cf825937cdd8dfca9fbd98e8b6b159f7cea8 Gerrit-Change-Number: 38251 Gerrit-PatchSet: 1 Gerrit-Owner: osmith <osmith@sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge <laforge@osmocom.org> Gerrit-Reviewer: pespin <pespin@sysmocom.de>
participants (1)
-
laforge