[website] 01/01: Strip epoch from git tags.
Bas Couwenberg
sebastic at debian.org
Tue Jul 12 12:56:40 UTC 2016
This is an automated email from the git hooks/post-receive script.
sebastic pushed a commit to branch master
in repository website.
commit 09f89344188c41629b9cc8a5b98a3255591fc380
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date: Tue Jul 12 14:56:32 2016 +0200
Strip epoch from git tags.
---
policy.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/policy.xml b/policy.xml
index 08e22ac..5111056 100644
--- a/policy.xml
+++ b/policy.xml
@@ -2147,11 +2147,11 @@ allowed_distributions = .*
tag prefixes instead:
<programlisting>
# UbuntuGIS
-<command>git tag</command> ubuntu/$(dpkg-parsechangelog -SVersion | sed 's/~/./g')
+<command>git tag</command> ubuntu/$(dpkg-parsechangelog -SVersion | sed 's/~/./g; s/^[0-9]*://')
<command>git push</command> <option>--tags</option>
# OSGeo-Live
-<command>git tag</command> osgeo/$(dpkg-parsechangelog -SVersion | sed 's/~/./g')
+<command>git tag</command> osgeo/$(dpkg-parsechangelog -SVersion | sed 's/~/./g; s/^[0-9]*://')
<command>git push</command> <option>--tags</option>
</programlisting>
Because the tilde is not a valid character in tags, all occurrences in
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/website.git
More information about the Pkg-grass-devel
mailing list