aboutsummaryrefslogtreecommitdiffstats
path: root/.circleci/config.yml
diff options
context:
space:
mode:
Diffstat (limited to '.circleci/config.yml')
-rw-r--r--.circleci/config.yml5
1 files changed, 1 insertions, 4 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
index 81c6c7b..48b02c2 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -62,12 +62,9 @@ jobs:
name: "package with packagecore"
command: |
# Clean up
- rm -rf ./.git
rm -rf ./dist/*
# Pack source
- cd ..
- tar -czf ${CIRCLE_PROJECT_REPONAME}-${CIRCLE_TAG}.tar.gz ${CIRCLE_PROJECT_REPONAME}
- cd ${CIRCLE_PROJECT_REPONAME}
+ git archive -o ../${CIRCLE_PROJECT_REPONAME}-${CIRCLE_TAG}.tar.gz --format tar.gz --prefix=${CIRCLE_PROJECT_REPONAME}-${CIRCLE_TAG#v}/ ${CIRCLE_TAG}
# Use latest installed python3 from pyenv
export PYENV_VERSION="$(pyenv versions | grep -Po '\b3\.\d+\.\d+' | tail -1)"
pip install packagecore