[med-svn] [Git][med-team/community/package_template][master] d/watch: github: make git mode more prominent than tags.
Étienne Mollier (@emollier)
gitlab at salsa.debian.org
Fri Dec 2 18:35:07 GMT 2022
Étienne Mollier pushed to branch master at Debian Med / community / package_template
Commits:
4717d390 by Étienne Mollier at 2022-12-02T19:34:30+01:00
d/watch: github: make git mode more prominent than tags.
- - - - -
1 changed file:
- debian/watch
Changes:
=====================================
debian/watch
=====================================
@@ -17,12 +17,12 @@ version=4
# https://sf.net/@PACKAGE@/@PACKAGE@-@ANY_VERSION@@ARCHIVE_EXT@
# Uncomment to find new files on Github
-# - when using tags
+# - when using gitmode
+# opts="mode=git, dversionmangle=auto" \
+# https://github.com/#GITHUBUSER#/#PACKAGE#.git refs/tags/v?@ANY_VERSION@
+# - when using tags (prefer git mode due to github web pages stability)
# opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%@PACKAGE at -$1.tar.gz%" \
# https://github.com/#GITHUBUSER#/#PACKAGE#/tags (?:.*?/)?v?(\d[\d.]*)\.tar\.gz
-# - when using gitmode
-# opts="mode=git, gitmode=full, pgpmode=none" \
-# https://github.com/#GITHUBUSER#/#PACKAGE#.git refs/tags/v([\d\.]+)
# - when upstream fails to set tags
# opts="mode=git,pretty=0.0+git%cd.%h" \
# https://github.com/#GITHUBUSER#/#PACKAGE#.git HEAD
View it on GitLab: https://salsa.debian.org/med-team/community/package_template/-/commit/4717d39025756d572a87ebf5566148583aba8e15
--
View it on GitLab: https://salsa.debian.org/med-team/community/package_template/-/commit/4717d39025756d572a87ebf5566148583aba8e15
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20221202/078ba223/attachment-0001.htm>
More information about the debian-med-commit
mailing list