Skip to content
Snippets Groups Projects
Verified Commit 3d0455ae authored by Tomas Krizek's avatar Tomas Krizek
Browse files

scripts: archive - dereference symlinks

Symlinks are pointing to broken locations with the way we generate
source tarballs. Dereference them to avoid this issue.
parent db74ba2d
No related branches found
No related tags found
1 merge request!485scripts: archive - dereference symlinks
Pipeline #
...@@ -11,5 +11,5 @@ git submodule status --recursive | grep -q '^[^ ]' && \ ...@@ -11,5 +11,5 @@ git submodule status --recursive | grep -q '^[^ ]' && \
# 'git ls-files --recurse-submodules' works only if modules are initialized # 'git ls-files --recurse-submodules' works only if modules are initialized
name="knot-resolver-$ver" name="knot-resolver-$ver"
tar caf "$name.tar.xz" --no-recursion --transform "s|^|$name/|" -- $(git ls-files --recurse-submodules) tar caf "$name.tar.xz" -h --no-recursion --transform "s|^|$name/|" -- $(git ls-files --recurse-submodules)
echo "$name.tar.xz" echo "$name.tar.xz"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment