Skip to content

Commit

Permalink
Enable packing source
Browse files Browse the repository at this point in the history
  • Loading branch information
jarun committed May 27, 2019
1 parent 75768ad commit 82e7a98
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,20 @@ jobs:
- run:
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}

This comment has been minimized.

Copy link
@jarun

jarun Sep 10, 2019

Author Owner

I see a comment here (http://www.opennet.ru/openforum/vsluhforumID3/117475.html#47) on whether we have heard about git archive. To answer that:

Not really. I am not extra sentimental about git and merely use it as a support tool. So much that even after reading your comment I didn't care to check it out.

And if you think you one smart asshole, PR, asshole!

cd ${CIRCLE_PROJECT_REPONAME}
# Use latest installed python3 from pyenv
export PYENV_VERSION="$(pyenv versions | grep -Po '\b3\.\d+\.\d+' | tail -1)"
pip install packagecore
packagecore -o ./dist/ ${CIRCLE_TAG#v}
# Move source pack to dist
mv ../${CIRCLE_PROJECT_REPONAME}-${CIRCLE_TAG}.tar.gz dist/
- run:
name: "publish to GitHub"
command: |
Expand Down

2 comments on commit 82e7a98

@jarun
Copy link
Owner Author

@jarun jarun commented on 82e7a98 May 27, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@szlin, @dilawar, @eclipso, @maxice8, @fornwall nnn v2.5 is released! Sorry for the earlier inconvenience.

Notes:

  • new optional dependency - sshfs
  • optional dependency on vidir (from moreutils) is dropped
  • @fornwall: on Termux the default wget is rudimentary. Users have to install wget (I ran apt-get install wget). Please add it as a dependency.

@jarun
Copy link
Owner Author

@jarun jarun commented on 82e7a98 May 27, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sjmulder nnn v2.5 is (finally) released!

Please sign in to comment.