[pkg-wine-party] [wine] 48/50: Handle -rcX in import script.
Jens Reyer
jreyer-guest at moszumanska.debian.org
Sun Jan 8 18:58:41 UTC 2017
This is an automated email from the git hooks/post-receive script.
jreyer-guest pushed a commit to branch master
in repository wine.
commit 7509b7e1af2c2ddee3bfda9edefa9e40e53e95d8
Author: Jens Reyer <jre.winesim at gmail.com>
Date: Sun Jan 8 18:01:08 2017 +0100
Handle -rcX in import script.
---
debian/scripts/import | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/debian/scripts/import b/debian/scripts/import
index 2728b30..b9cde13 100755
--- a/debian/scripts/import
+++ b/debian/scripts/import
@@ -33,7 +33,7 @@ tag_time=`git cat-file tag "$tag" | sed -n 's/tagger .*<.*> \([0-9]*\) .*/\1/p'`
release_date=`LC_ALL=C date -u -d "@$tag_time" +"%b %-d, %Y"`
# create the initial changelog entry
-dch -v "$version-1" "New upstream release $version, released $release_date."
+dch -v "$(echo $version|sed "s/-/~/")-1" "New upstream release $version, released $release_date."
sed -n 's/^ - \(.*\)/- \1/p' ANNOUNCE | while read line; do
dch $line
done
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wine/wine.git
More information about the pkg-wine-party
mailing list