Upload Modules
This commit is contained in:
10
ngx_fancyindex/make-dist
Normal file
10
ngx_fancyindex/make-dist
Normal file
@@ -0,0 +1,10 @@
|
||||
#! /bin/sh
|
||||
set -e
|
||||
|
||||
GIT_TAG=$(git describe --tags HEAD)
|
||||
VERSION=${GIT_TAG#v}
|
||||
PV="ngx-fancyindex-${VERSION}"
|
||||
|
||||
set -x
|
||||
git archive --worktree-attributes --prefix="${PV}/" -o "${PV}.tar" "${GIT_TAG}"
|
||||
xz -f9 "${PV}.tar"
|
||||
Reference in New Issue
Block a user