Add top-level moderncv/ folder to release tarball (#90)

Closes #89

Signed-off-by: Stephan Lachnit <stephanlachnit@debian.org>
This commit is contained in:
Stephan Lachnit 2021-12-19 13:43:51 +01:00 committed by GitHub
commit a6427c5a48
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,10 +9,10 @@ TARBALL=moderncv-$VERSION.tar
rm -f $TARBALL $TARBALL.gz
# create tar with all files in git repo
git archive HEAD > $TARBALL
git archive --prefix=moderncv/ HEAD > $TARBALL
# remove git specific files
tar -f $TARBALL --delete .github/ .gitignore create-release-tarball.sh
tar -f $TARBALL --delete moderncv/.github/ moderncv/.gitignore moderncv/create-release-tarball.sh
# compress
gzip $TARBALL