o Drop d/m/uupdate in favor of ngxmod uupdate subcommand.
While at it, take advantage of the canonical module
names and drop the last argument.
o Move unpacking & commit to uupdate subcommand, that
way we don't to have to communicate the upstream version
with ngxmod uscan.
o Move around a few things, and switch to argparse.
4 lines
250 B
Text
4 lines
250 B
Text
version=4
|
|
opts="dversionmangle=s/v//,filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%libnginx-mod-http-lua-$1.tar.gz%" \
|
|
https://github.com/openresty/lua-nginx-module/tags \
|
|
(?:.*?/)?v?(\d[\d.]*)\.tar\.gz debian debian/ngxmod uupdate http-lua
|