diff options
author | Maxim Baz <git@maximbaz.com> | 2020-01-15 13:24:29 +0100 |
---|---|---|
committer | Mischievous Meerkat <engineerarun@gmail.com> | 2020-01-15 17:54:29 +0530 |
commit | d1b2bb1e760ed53e037f4a70cafbcd7b9e49411a (patch) | |
tree | a3ab62153ce54f40d0b50603cf01373202e60082 /.circleci/config.yml | |
parent | 38de6efd480c2523e6623ed0af241d31b7e6c948 (diff) | |
download | nnn-d1b2bb1e760ed53e037f4a70cafbcd7b9e49411a.tar.gz |
Release improvements, take 2 (#440)
* Revert "Undo changes from #417"
* Do not remove .git folder
Diffstat (limited to '.circleci/config.yml')
-rw-r--r-- | .circleci/config.yml | 5 |
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 |