Merge pull request #17 from waja-archive/tar_fix

Symlinks are transformed as well, which leads into broken symlinks.
This commit is contained in:
Dawid Dziurla 2020-11-08 21:09:25 +01:00 committed by GitHub
commit e6341a655f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -89,7 +89,7 @@ async function main() {
"tar",
"--exclude-vcs",
"--exclude", "./debian",
"--transform", `s/^\./${package}-${version}/`,
"--transform", `s/^\./${package}-${version}/S`,
"-cvzf", `${buildDirectory}/${package}_${version}.orig.tar.gz`,
"-C", sourceDirectory,
"./"