Commit 2e5b45ad authored by Mike Gabriel's avatar Mike Gabriel

Support tarring up the HEAD of the current branch.

parent 23fc7ee7
...@@ -184,6 +184,7 @@ nx-libs (2:3.5.0.32-0x2go1) UNRELEASED; urgency=low ...@@ -184,6 +184,7 @@ nx-libs (2:3.5.0.32-0x2go1) UNRELEASED; urgency=low
in tarball (special focuse on the nx-libs-lite tarball). in tarball (special focuse on the nx-libs-lite tarball).
+ Allow patch files names having a dash next to the four digits (i.e., + Allow patch files names having a dash next to the four digits (i.e.,
1234-<patchname>.<suffix>). 1234-<patchname>.<suffix>).
+ Support tarring up the HEAD of the current branch.
* debian/COPYING.full+lite: * debian/COPYING.full+lite:
+ Replace content with GPL-2 license text, because that is the overall + Replace content with GPL-2 license text, because that is the overall
(i.e., strictest) license we have to deal with in nx-libs. (i.e., strictest) license we have to deal with in nx-libs.
......
...@@ -53,13 +53,13 @@ else ...@@ -53,13 +53,13 @@ else
fi fi
if [ x"$RELEASE" == "xHEAD" ]; then if [ x"$RELEASE" == "xHEAD" ]; then
CHECKOUT="HEAD" CHECKOUT=refs/heads/$(git rev-parse --abbrev-ref HEAD)
fi fi
if ! git rev-parse --verify -q "$CHECKOUT" >/dev/null; then if ! git rev-parse --verify -q "$CHECKOUT" >/dev/null; then
echo " '${RELEASE}' is not a valid release number because there is no git tag named ${CHECKOUT}." echo " '${RELEASE}' is not a valid release number because there is no git tag named ${CHECKOUT}."
echo " Please specify one of the following releases:" echo " Please specify one of the following releases:"
echo "HEAD" echo "HEAD (on branch `git rev-parse --abbrev-ref HEAD`)"
git tag -l | grep "^redist" | cut -f2 -d"/" | sort -u git tag -l | grep "^redist" | cut -f2 -d"/" | sort -u
exit 1 exit 1
fi fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment