void-packages/srcpkgs/j/update
2020-01-19 10:21:58 +01:00

6 lines
205 B
Text

site='https://github.com/jsoftware/jsource/releases'
_vmaj=${version%.*}
_vmin=${version#${_vmaj}}
_vmin=${_vmin#.}
version="${_vmaj}-release${_vmin:+-}${_vmin}"
pattern='tag/j\K[\d]+-release(-.*)?(?=">)'