Permalink
Browse files

Change tag format to $PACKAGE-X.Y

  • Loading branch information...
andreas-gruenbacher committed Apr 18, 2017
1 parent fc813e2 commit 51515127d3731bcbed21a9be3a9caa487cb7cde0
Showing with 6 additions and 5 deletions.
  1. +3 −3 Makefile
  2. +2 −1 release.sh
  3. +1 −1 tarball.sh
View
@@ -50,11 +50,11 @@ profile: build
require-tag:
@tag="$(TAG)"; \
if [ -z "$$tag" ]; then \
echo "Please create a vN.N tag" >&2; \
echo "Please create a $(PACKAGE)-X.Y tag" >&2; \
exit 2; \
fi; \
if ! echo "$$tag" | grep -q -e '^v[0-9]\+\.[0-9]\+$$'; then \
echo "Tag '$$tag' does not have the form vN.N" >&2; \
if ! echo "$$tag" | grep -q -e '^$(PACKAGE)-[0-9]\+\.[0-9]\+$$'; then \
echo "Tag '$$tag' does not have the form $(PACKAGE)-X.Y" >&2; \
exit 2; \
fi
View
@@ -4,7 +4,8 @@ set -e
REPO=debs
version=${1:1}
tag=$1
version=${tag#$PACKAGE-}
tarball=$PACKAGE-$version.tar.gz
basename=$PACKAGE-$version
View
@@ -5,7 +5,7 @@ set -e
topdir=$PWD
tag=$1
version=${tag:1}
version=${tag#$PACKAGE-}
basename=$PACKAGE-$version
tmpdir=$(mktemp -d)

0 comments on commit 5151512

Please sign in to comment.