summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/x2go-release-announcement4
1 files changed, 3 insertions, 1 deletions
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/' \