summaryrefslogtreecommitdiff
path: root/debian/watch
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2017-06-21 23:12:48 +0300
committerIgor Pashev <pashev.igor@gmail.com>2017-06-21 23:12:48 +0300
commita0b016be2e2f120c5b2ef408289f10665c1deb56 (patch)
treea701c0edd10ebb6a025cb00d1a4b55ffcebd8637 /debian/watch
downloadruby-debian/2.3.3-1.tar.gz
Imported ruby2.3 2.3.3-1debian/2.3.3-1debian
Diffstat (limited to 'debian/watch')
-rw-r--r--debian/watch3
1 files changed, 3 insertions, 0 deletions
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..2a00f76
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts="uversionmangle=s/-p/\./;s/-rc/~rc/;s/\_preview/~preview/;s/_/./g,filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/ruby-$1\.tar\.gz/" \
+ https://github.com/ruby/ruby/releases .*/v?(\d\S*)\.tar\.gz