#!/bin/bash

rm -f echo-nginx-module*.tar.lz

VERSION=$1

wget --content-disposition https://github.com/openresty/echo-nginx-module/archive/refs/tags/v$VERSION.tar.gz

gunzip echo-nginx-module-$VERSION.tar.gz
plzip -9 echo-nginx-module-$VERSION.tar
