summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-12-31 10:03:47 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-12-31 10:03:47 -0800
commit38278c9c71b99a368ccda31880d13e47d6acd021 (patch)
tree358a38d14453e013e9fba99fd8d0b80d4a6b7e87
parent7a7ce2c5e0a95b856ad5ac6a1eabe0750e722561 (diff)
downloadsubsurface-38278c9c71b99a368ccda31880d13e47d6acd021.tar.gz
Revert "Make the daily builds on OBS distinct from the releases"
This reverts commit 7a7ce2c5e0a95b856ad5ac6a1eabe0750e722561. Shouldn't have pushed that one :-) The fix was to modify the spec file, not the name of the directory and tar file. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--packaging/ubuntu/make-package.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/packaging/ubuntu/make-package.sh b/packaging/ubuntu/make-package.sh
index 96d17f31e..d3ab6b41f 100644
--- a/packaging/ubuntu/make-package.sh
+++ b/packaging/ubuntu/make-package.sh
@@ -23,7 +23,7 @@ fi
rm -f subsurface-$VERSION
mkdir subsurface_$VERSION
-ln -s subsurface_$VERSION subsurfacedaily-$VERSION
+ln -s subsurface_$VERSION subsurface-$VERSION
#
#
echo "copying sources"
@@ -39,7 +39,7 @@ echo $LIBDCREVISION > libdivecomputer/revision
#
echo "creating source tar file for OBS and Ununtu PPA"
#
-(cd .. ; tar ch subsurfacedaily-$VERSION | xz > home:Subsurface-Divelog/Subsurface-daily/subsurfacedaily-$VERSION.orig.tar.xz) &
+(cd .. ; tar ch subsurface-$VERSION | xz > home:Subsurface-Divelog/Subsurface-daily/subsurface-$VERSION.orig.tar.xz) &
tar cf - . | xz > ../subsurface_$VERSION.orig.tar.xz
#
#
@@ -74,7 +74,7 @@ if [[ "$1x" = "postx" ]] ; then
dput ppa:subsurface/subsurface-daily subsurface_$VERSION*.changes
cd home:Subsurface-Divelog/Subsurface-daily
osc rm $(ls subsurface*.tar.xz | grep -v $VERSION)
- osc add subsurfacedaily-$VERSION.orig.tar.xz
- sed -i "s/%define gitVersion .*/%define gitVersion $GITREVISION/" subsurfacedaily.spec
+ osc add subsurface-$VERSION.orig.tar.xz
+ sed -i "s/%define gitVersion .*/%define gitVersion $GITREVISION/" subsurface.spec
osc commit -m "next daily build"
fi