[pkg-wine-party] [wine] 20/24: Handle -rcX in import script.

Jens Reyer jreyer-guest at moszumanska.debian.org
Wed Jan 11 23:14:45 UTC 2017


This is an automated email from the git hooks/post-receive script.

jreyer-guest pushed a commit to branch stretch
in repository wine.

commit 6dfb462db5d5812686dc07bae3da34326644ae6b
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 3d530ab..68402ac 100755
--- a/debian/scripts/import
+++ b/debian/scripts/import
@@ -45,7 +45,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