This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
lynxis lazus gerrit-no-reply at lists.osmocom.orgReview at https://gerrit.osmocom.org/4952 osmocom-latest-packages: introduce $TOP dir variable Using a $TOP variable makes directory paths more clear to understandable. Path now expressed starting from the TOP dir instead of using ../../../foo Change-Id: I7a87532a3232fbcfb5f676588991dbc59a34f739 --- M scripts/osmocom-latest-packages.sh 1 file changed, 8 insertions(+), 6 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/52/4952/1 diff --git a/scripts/osmocom-latest-packages.sh b/scripts/osmocom-latest-packages.sh index ff1bc34..9deae23 100755 --- a/scripts/osmocom-latest-packages.sh +++ b/scripts/osmocom-latest-packages.sh @@ -6,6 +6,7 @@ PROJ=network:osmocom:latest DT=`date +%Y%m%d` +TOP=$(pwd) # start with a checkout of the project if [ -d $PROJ ]; then @@ -17,19 +18,20 @@ build() { echo echo "====> Building $1" + cd $TOP rm -rf data [ -d $1 ] || git clone git://git.osmocom.org/$1 cd $1 git fetch VER=`git describe --abbrev=0 --tags --match "*.*.*" origin/master` git checkout -f -B $VER refs/tags/$VER - gbp buildpackage -d -S -uc -us --git-export-dir=$PWD/../data --git-debian-branch=$VER - cd ../$PROJ/$1 + gbp buildpackage -d -S -uc -us --git-export-dir=$TOP/data --git-debian-branch=$VER + cd $TOP/$PROJ/$1 osc rm * || true - mv ../../data/*.dsc . - mv ../../data/*.tar* . + mv $TOP/data/*.dsc . + mv $TOP/data/*.tar* . osc add * - cd ../../ + cd $TOP } PACKAGES=" @@ -58,5 +60,5 @@ build $p done -cd $PROJ +cd $TOP/$PROJ osc ci -m "Latest Tagged versions of $DT" -- To view, visit https://gerrit.osmocom.org/4952 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I7a87532a3232fbcfb5f676588991dbc59a34f739 Gerrit-PatchSet: 1 Gerrit-Project: osmo-ci Gerrit-Branch: master Gerrit-Owner: lynxis lazus <lynxis at fe80.eu>