You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#! /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"
|
|
|