Michael R. Crusoe pushed to branch master at Debian Med / community / 
package_template


Commits:
41e205c0 by Michael R. Crusoe at 2023-08-21T10:16:49+00:00
Add GitHub release artifacts example
- - - - -


1 changed file:

- debian/watch


Changes:

=====================================
debian/watch
=====================================
@@ -23,6 +23,12 @@ version=4
 #  - when using tags (prefer git mode due to github web pages stability)
 # opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%@PACKAGE@-$1.tar.gz%" \
 #   https://github.com/#GITHUBUSER#/#PACKAGE#/tags 
(?:.*?/)?v?(\d[\d.]*)\.tar\.gz
+#  - when upstream attaches custom source archives to their releases 
(especially when they use git submodules).
+#    since upstream manually creates these archives, you will likely need to 
adjust the pattern above to match their naming convention)
+#    See 
https://codesearch.debian.net/search?q=searchmode%3Dplain+path%3Adebian%2Fwatch&literal=1
 for more examples
+# opts="searchmode=plain"
+#      https://api.github.com/repos/#GITHUBUSER#/#PACKAGE#/releases \
+#      
https://github.com/#GITHUBUSER#/#PACKAGE#/releases/download/v?[\d.]+/#PACKAGE#-([\d.]+)@ARCHIVE_EXT@
 
 #  - 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/41e205c094fa41b635e01e6f8a01d004619a6e0f

-- 
View it on GitLab: 
https://salsa.debian.org/med-team/community/package_template/-/commit/41e205c094fa41b635e01e6f8a01d004619a6e0f
You're receiving this email because of your account on salsa.debian.org.


_______________________________________________
debian-med-commit mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to