mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 03:41:27 +00:00
Release improvements, take 2 (#440)
* Revert "Undo changes from #417" * Do not remove .git folder
This commit is contained in:
parent
38de6efd48
commit
d1b2bb1e76
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue