mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Make the daily builds on OBS distinct from the releases
This way there should be less confusion Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
c246432092
commit
7a7ce2c5e0
1 changed files with 4 additions and 4 deletions
|
@ -23,7 +23,7 @@ fi
|
|||
rm -f subsurface-$VERSION
|
||||
|
||||
mkdir subsurface_$VERSION
|
||||
ln -s subsurface_$VERSION subsurface-$VERSION
|
||||
ln -s subsurface_$VERSION subsurfacedaily-$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 subsurface-$VERSION | xz > home:Subsurface-Divelog/Subsurface-daily/subsurface-$VERSION.orig.tar.xz) &
|
||||
(cd .. ; tar ch subsurfacedaily-$VERSION | xz > home:Subsurface-Divelog/Subsurface-daily/subsurfacedaily-$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 subsurface-$VERSION.orig.tar.xz
|
||||
sed -i "s/%define gitVersion .*/%define gitVersion $GITREVISION/" subsurface.spec
|
||||
osc add subsurfacedaily-$VERSION.orig.tar.xz
|
||||
sed -i "s/%define gitVersion .*/%define gitVersion $GITREVISION/" subsurfacedaily.spec
|
||||
osc commit -m "next daily build"
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue