summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrej Shadura <andrewsh@debian.org>2020-10-30 17:41:46 +0100
committerAndrej Shadura <andrewsh@debian.org>2020-10-30 17:41:46 +0100
commite43a211f7bbbf1cecc21e13f6f76a57c7201074a (patch)
treeabb1506a3513d92de22b359f643122725ab8a2d1
parentc61db71a36b036a3f184f5d0188c1a0abeb21e99 (diff)
Track upstream Git snapshots
-rw-r--r--debian/watch7
1 files changed, 6 insertions, 1 deletions
diff --git a/debian/watch b/debian/watch
index 6c01e1c..9c8b9e6 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,3 +1,8 @@
-version=3
+version=4
opts=dversionmangle=s/.dfsg//,uversionmangle=s/beta/~beta/ http://sf.net/stm32flash/stm32flash-(\d\S*)\.(?:tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))
+
+opts="mode=git, pgpmode=none, pretty=0.5+git%cd+%h, repack, compression=xz" \
+ https://git.code.sf.net/p/stm32flash/code \
+ HEAD
+