www.unturf.com/make_tarball.sh

7 lines
370 B
Bash
Executable file

#tar -zcvf www.unturf.com.tar.gz output
rm -rf .git
cd ..; tar -zcvf www.unturf.com.tar.gz www.unturf.com; mv www.unturf.com.tar.gz www.unturf.com; cd www.unturf.com
# create sha512 of www.unturf.com.tar.gz
sha512sum www.unturf.com.tar.gz >> www.unturf.com.tar.gz.hash
# create git-commit.txt to track this builds git commit hash.
echo $CI_COMMIT_SHA >> commit-hash.txt