Skip to content
Snippets Groups Projects
Commit 7541737c authored by Calen Pennington's avatar Calen Pennington
Browse files

Fix how the tar is built

parent faa34e26
No related branches found
No related tags found
No related merge requests found
......@@ -15,4 +15,8 @@ if [ -z "${BUILD_NUMBER}" ]; then
fi
ID=mitx-${GIT_BRANCH}-${BUILD_NUMBER}-${GIT_COMMIT}
tar --exclude=.git --exclude=build -czf build/${ID}.tgz ${REPO}
REPO_ROOT=$(dirname $0)/..
BUILD_DIR=${REPO_ROOT}/build
mkdir -p ${BUILD_DIR}
tar -v --exclude=.git --exclude=build --transform="s#^#mitx/#" -czf ${BUILD_DIR}/${ID}.tgz ${REPO_ROOT}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment