[med-svn] [Git][med-team/community/package_template][master] If given URL was pointing to github just create a watch file that works "mostly"

Andreas Tille gitlab at salsa.debian.org
Wed Mar 27 07:42:34 GMT 2019



Andreas Tille pushed to branch master at Debian Med / community / package_template


Commits:
9721a48d by Andreas Tille at 2019-03-27T07:41:59Z
If given URL was pointing to github just create a watch file that works "mostly"

- - - - -


1 changed file:

- personalise_template


Changes:

=====================================
personalise_template
=====================================
@@ -43,3 +43,8 @@ sed -i "s/<timestamp_as_per_date_-R>/${CHDATE}/" changelog
 if [ "$PHOMEPAGE" != "" ] ; then
   sed -i "s#<homepage>#$PHOMEPAGE#" control
 fi
+
+if echo "$PHOMEPAGE" | grep -q 'github\.com' ; then
+  echo "version=4\n" > watch
+  echo "$PHOMEPAGE/releases .*/archive/v?@ANY_VERSION@@ARCHIVE_EXT@" >> watch
+fi



View it on GitLab: https://salsa.debian.org/med-team/community/package_template/commit/9721a48d3020b90ff7da3cdfa2839f9bbcc672d3

-- 
View it on GitLab: https://salsa.debian.org/med-team/community/package_template/commit/9721a48d3020b90ff7da3cdfa2839f9bbcc672d3
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/20190327/0b551de6/attachment.html>


More information about the debian-med-commit mailing list