[med-svn] [Git][med-team/community/package_template][master] Take over Dversionmangle and Repacksuffix
Andreas Tille (@tille)
gitlab at salsa.debian.org
Wed Dec 24 13:49:03 GMT 2025
Andreas Tille pushed to branch master at Debian Med / community / package_template
Commits:
451220f0 by Andreas Tille at 2025-12-24T14:48:36+01:00
Take over Dversionmangle and Repacksuffix
- - - - -
1 changed file:
- convert-watch5
Changes:
=====================================
convert-watch5
=====================================
@@ -26,6 +26,11 @@ case "$homepage" in
;;
esac
+dversionmangle=$(grep -i 'dversionmangle[[:space:]]*=' debian/watch | sed 's/^.*dversionmangle[[:space:]]*=[[:space:]]*\([^,]\+\),.*/Dversion-Mangle: \1/')
+repacksuffix=$(grep -i 'repacksuffix[[:space:]]*=' debian/watch | sed 's/^.*repacksuffix[[:space:]]*=[[:space:]]*\([^,]\+\),.*/Repack-Suffix: \1/')
+#echo "$dversionmangle"
+#echo "$repacksuffix"
+
use_tags=0
response=$(curl -s -o /dev/null -w "%{http_code}" "https://api.github.com/repos/$owner/$project/tags")
@@ -71,3 +76,10 @@ Mode: git
Git-Pretty: 0.0~git%cd.%h
EOF
fi
+
+if [ "$dversionmangle" != "" ] ; then
+ echo $dversionmangle >> debian/watch
+fi
+if [ "$repacksuffix" != "" ] ; then
+ echo $repacksuffix >> debian/watch
+fi
View it on GitLab: https://salsa.debian.org/med-team/community/package_template/-/commit/451220f0edbe6cdc937d1b3bd605f5198d0d5605
--
View it on GitLab: https://salsa.debian.org/med-team/community/package_template/-/commit/451220f0edbe6cdc937d1b3bd605f5198d0d5605
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/20251224/4860d7fe/attachment-0001.htm>
More information about the debian-med-commit
mailing list