Fix permissions in release tarballs
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
8893393f79
commit
f614c8f0a0
1 changed files with 3 additions and 1 deletions
|
@ -23,7 +23,9 @@ rm element-$version/config.json || true
|
||||||
|
|
||||||
$(dirname $0)/normalize-version.sh ${version} > element-$version/version
|
$(dirname $0)/normalize-version.sh ${version} > element-$version/version
|
||||||
|
|
||||||
tar chvzf dist/element-$version.tar.gz element-$version
|
# GNU/BSD compatibility workaround
|
||||||
|
tar_perms=(--owner=0 --group=0) && [ "$(uname)" == "Darwin" ] && sedi=(--uid=0 --gid=0)
|
||||||
|
gtar "${tar_perms[@]}" -chvzf dist/element-$version.tar.gz element-$version
|
||||||
rm -r element-$version
|
rm -r element-$version
|
||||||
|
|
||||||
echo
|
echo
|
||||||
|
|
Loading…
Reference in a new issue