5 lines
208 B
Bash
5 lines
208 B
Bash
|
#!/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" .
|