Add top-level moderncv/ folder to release tarball

Closes #89

Signed-off-by: Stephan Lachnit <stephanlachnit@debian.org>
This commit is contained in:
Stephan Lachnit 2021-12-19 13:39:49 +01:00
commit 739d220d23
No known key found for this signature in database
GPG key ID: B35B49EA5D563EFE

View file

@ -9,10 +9,10 @@ TARBALL=moderncv-$VERSION.tar
rm -f $TARBALL $TARBALL.gz rm -f $TARBALL $TARBALL.gz
# create tar with all files in git repo # create tar with all files in git repo
git archive HEAD > $TARBALL git archive --prefix=moderncv/ HEAD > $TARBALL
# remove git specific files # 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 # compress
gzip $TARBALL gzip $TARBALL