Add script to create archive

[ci skip]
pull/1/head
Konstantinos Sideris 7 years ago
parent 1a3369877e
commit 799885ad24
  1. 6
      scripts/archive.sh

@ -1,12 +1,6 @@
#!/bin/bash -e #!/bin/bash -e
TAG=`git tag -l --points-at HEAD`
PREFIX=$(basename "$(pwd -P)") PREFIX=$(basename "$(pwd -P)")
if [ ! -z $TAG ]; then
PREFIX=$(basename "$(pwd -P)").$TAG
fi
{ {
git ls-files git ls-files
git submodule foreach --recursive --quiet \ git submodule foreach --recursive --quiet \

Loading…
Cancel
Save