www.unturf.com/make_tarball.sh

5 lines
267 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 git-commit.txt to track this builds git commit hash.
echo $CI_COMMIT_SHA >> commit-hash.txt