freezer/linux/create-tarball.sh

5 lines
208 B
Bash
Raw Normal View History

#!/bin/sh
cd "${PROJECT_BINARY_DIR}/../../../.."
COMMIT_HASH=`git log -1 --pretty=format:%h`
cd "${BUILD_BUNDLE_DIR}"
${CMAKE_COMMAND} -E tar cvzf "${PROJECT_BINARY_DIR}/freezer-linux-${COMMIT_HASH}.tar.gz" .