trying to fix tarbal local of build

This commit is contained in:
Russell Ballestrini 2022-05-25 12:48:57 -04:00
parent 459ae6f77b
commit 4111a4eaed

View file

@ -25,7 +25,7 @@ build:
# move the virtualenv with virtualenv-clone into desired location.
- virtualenv-clone env /opt/make_post_sell/env
# make tarball of virtualenv.
- tar -zcf env.tar.gz -C /opt/make_post_sell/env .
- tar -zcf env.tar.gz -C /opt/make_post_sell .
# create commit-hash.txt to track this build's git commit hash.
- echo $CI_COMMIT_SHA >> commit-hash.txt
# clean up directory outside of gitlab-runner filesystem.
@ -35,7 +35,7 @@ build:
- env.tar.gz
- static.tar.gz
- commit-hash.txt
expire_in: 1 month
#expire_in: 1 month
publish:
stage: publish