Fixed release scripts to work with new git conventions.
This commit is contained in:
parent
e3268bb8e5
commit
97991116bd
6
dist/build-arch-tag
vendored
6
dist/build-arch-tag
vendored
@ -51,7 +51,7 @@ then
|
||||
echo "Tag $TAG found."
|
||||
else
|
||||
echo "Don't know tag $TAG, please select a revision, e.g. from below:"
|
||||
git-tag -l
|
||||
git tag -l
|
||||
echo $DESCR
|
||||
exit
|
||||
fi
|
||||
@ -65,7 +65,7 @@ DESTDIR=$CURDIR
|
||||
TMPDIR="/tmp"
|
||||
SRCNAME=$ARCHNAME-src
|
||||
|
||||
# Hard coded connections, do not change this (hardcoded in git-archive
|
||||
# Hard coded connections, do not change this (hardcoded in git archive
|
||||
# usage and archive creation)
|
||||
SRCDIR=$TMPDIR/$SRCNAME
|
||||
BUILDDIR=$TMPDIR/$ARCHNAME
|
||||
@ -81,7 +81,7 @@ rm -rf $SRCDIR
|
||||
rm -rf $BUILDDIR
|
||||
|
||||
# Change into the lower directory (main archive dir)
|
||||
cd .. && git-archive --format=tar --prefix=$SRCNAME/ $TAG | (cd $TMPDIR && tar xf -)
|
||||
cd .. && git archive --format=tar --prefix=$SRCNAME/ $TAG | (cd $TMPDIR && tar xf -)
|
||||
|
||||
# Base of the package is the gui directory
|
||||
mv $SRCDIR/gui $BUILDDIR
|
||||
|
2
dist/releasescript
vendored
2
dist/releasescript
vendored
@ -26,7 +26,7 @@ then
|
||||
echo " Usage: $0 <tag>"
|
||||
echo
|
||||
echo "Don't know tag $TAG, please select one from below:"
|
||||
git-tag -l
|
||||
git tag -l
|
||||
echo $DESCR
|
||||
exit
|
||||
fi
|
||||
|
6
dist/sourcescript
vendored
6
dist/sourcescript
vendored
@ -32,7 +32,7 @@ then
|
||||
echo "Tag $TAG found."
|
||||
else
|
||||
echo "Don't know tag $TAG, please select a revision, e.g. from below:"
|
||||
git-tag -l
|
||||
git tag -l
|
||||
echo $DESCR
|
||||
exit
|
||||
fi
|
||||
@ -45,7 +45,7 @@ CURDIR=`pwd`
|
||||
DESTDIR=$CURDIR
|
||||
TMPDIR="/tmp"
|
||||
|
||||
# Hard coded connections, do not change this (hardcoded in git-archive
|
||||
# Hard coded connections, do not change this (hardcoded in git archive
|
||||
# usage and archive creation)
|
||||
BUILDDIR=$TMPDIR/$ARCHNAME
|
||||
|
||||
@ -53,7 +53,7 @@ BUILDDIR=$TMPDIR/$ARCHNAME
|
||||
rm -rf $BUILDDIR
|
||||
|
||||
# Change into the lower directory (main archive dir)
|
||||
cd .. && git-archive --format=tar --prefix=$ARCHNAME/ $TAG | (cd $TMPDIR && tar xf -)
|
||||
cd .. && git archive --format=tar --prefix=$ARCHNAME/ $TAG | (cd $TMPDIR && tar xf -)
|
||||
|
||||
# Prepare tag for gui version
|
||||
echo "SCYTHER_GUI_VERSION = \"$TAG\"" >$BUILDDIR/gui/Gui/Version.py
|
||||
|
Loading…
Reference in New Issue
Block a user