[X2Go-Commits] [buildscripts] 01/01: x2go-release-announcement: Strip epoch part of a package version (needed for nx-libs).

git-admin at x2go.org git-admin at x2go.org
Thu Aug 14 09:54:48 CEST 2014


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

x2go pushed a commit to branch master
in repository buildscripts.

commit adf9ed4efa400792127da094725482ad5d7c166f
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Thu Aug 14 09:54:33 2014 +0200

    x2go-release-announcement: Strip epoch part of a package version (needed for nx-libs).
---
 bin/x2go-release-announcement |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/bin/x2go-release-announcement b/bin/x2go-release-announcement
index 2235edb..99d9741 100755
--- a/bin/x2go-release-announcement
+++ b/bin/x2go-release-announcement
@@ -41,12 +41,14 @@ New gains of this version of ,,$project'' are:
 "
 
 cat debian/changelog | sed -e 's/Fixes:/Closes:/i' | dpkg-parsechangelog --offset $offset -c$count -l- | \
-	                sed -e 's/^Closes:/Fixes these bug report(s):/i' \
+	                sed -r \
+                            -e 's/^Closes:/Fixes these bug report(s):/i' \
 	                    -e 's/Closes:/Fixes:/i' \
 	                    -e 's/^Source: /X2Go Component: /' \
 	                    -e 's/-0~x2go[0-9]//' \
 	                    -e 's/-0x2go[0-9]//' \
 	                    -e 's/-0$//' \
+	                    -e 's/[0-9]*:([0-9\.]*)/\1/g' \
 	                    -e 's/^Distribution: unstable/Status: RELEASE/' \
 	                    -e 's/ unstable;/ RELEASED;/' \
 	                    -e 's/^Distribution: UNRELEASED/Status: PREVIEW/' \

--
Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/buildscripts.git


More information about the x2go-commits mailing list