diff options
author | Maxim Baz <git@maximbaz.com> | 2019-12-21 00:32:39 +0100 |
---|---|---|
committer | Mischievous Meerkat <engineerarun@gmail.com> | 2019-12-21 05:02:39 +0530 |
commit | f0eba7d51b87d50e04f69e886d79cb9aa2a3c184 (patch) | |
tree | bb2bf6bcc8ba5d337fa48e4e8f5e525d42f4a36f /.circleci/config.yml | |
parent | 9f7ae0e86a8322117752786f4c3ad0dc89b843b9 (diff) | |
download | nnn-f0eba7d51b87d50e04f69e886d79cb9aa2a3c184.tar.gz |
Improvements for distribution (#417)
* Don't pack sources (github does it better), sign sources
* Make CircleCI generate the same git archive as Github, return make dist
* Revert make clean too
* Upload signature to Github release
* Read Github token from an env variable
Diffstat (limited to '.circleci/config.yml')
-rw-r--r-- | .circleci/config.yml | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml index 81c6c7b..d50b199 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -65,9 +65,7 @@ jobs: 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 |