mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 11:51: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"
|
name: "package with packagecore"
|
||||||
command: |
|
command: |
|
||||||
# Clean up
|
# Clean up
|
||||||
rm -rf ./.git
|
|
||||||
rm -rf ./dist/*
|
rm -rf ./dist/*
|
||||||
# Pack source
|
# Pack source
|
||||||
cd ..
|
git archive -o ../${CIRCLE_PROJECT_REPONAME}-${CIRCLE_TAG}.tar.gz --format tar.gz --prefix=${CIRCLE_PROJECT_REPONAME}-${CIRCLE_TAG#v}/ ${CIRCLE_TAG}
|
||||||
tar -czf ${CIRCLE_PROJECT_REPONAME}-${CIRCLE_TAG}.tar.gz ${CIRCLE_PROJECT_REPONAME}
|
|
||||||
cd ${CIRCLE_PROJECT_REPONAME}
|
|
||||||
# Use latest installed python3 from pyenv
|
# Use latest installed python3 from pyenv
|
||||||
export PYENV_VERSION="$(pyenv versions | grep -Po '\b3\.\d+\.\d+' | tail -1)"
|
export PYENV_VERSION="$(pyenv versions | grep -Po '\b3\.\d+\.\d+' | tail -1)"
|
||||||
pip install packagecore
|
pip install packagecore
|
||||||
|
|
Loading…
Reference in a new issue