Properly compress tarballs
This commit is contained in:
parent
979ced6428
commit
71d80a1171
@ -10,13 +10,13 @@ wget "https://github.com/cbeust/testng/archive/${upstream_version}.tar.gz" -O "$
|
||||
|
||||
rm -rf tarball-tmp
|
||||
mkdir tarball-tmp
|
||||
cd tarball-tmp
|
||||
pushd tarball-tmp
|
||||
tar xf "../${name}-${upstream_version}.orig.tar.gz"
|
||||
|
||||
# CLEAN TARBALL
|
||||
rm -r */gradle* */kobalt*
|
||||
rm */src/main/resources/org/testng/jquery-*.js
|
||||
|
||||
tar cf "../${name}-${version}.tar.gz" *
|
||||
cd ..
|
||||
tar -czf "../${name}-${version}.tar.gz" *
|
||||
popd
|
||||
rm -r tarball-tmp "${name}-${upstream_version}.orig.tar.gz"
|
||||
|
Loading…
Reference in New Issue
Block a user