mirror of
https://github.com/jarun/nnn.git
synced 2024-11-27 21:31:30 +00:00
Restore source code packing on CircleCI
This commit is contained in:
parent
f27e93fba0
commit
88e9171266
|
@ -83,7 +83,7 @@ jobs:
|
|||
steps:
|
||||
- checkout
|
||||
- run:
|
||||
name: "package with packagecore"
|
||||
name: "auto-generate packages"
|
||||
command: |
|
||||
# Clean up
|
||||
rm -rf ./dist/*
|
||||
|
@ -91,8 +91,8 @@ jobs:
|
|||
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
|
||||
packagecore -c misc/packagecore/packagecore.yaml -o ./dist/ ${CIRCLE_TAG#v}
|
||||
#pip install packagecore
|
||||
#packagecore -c misc/packagecore/packagecore.yaml -o ./dist/ ${CIRCLE_TAG#v}
|
||||
# Move source pack to dist
|
||||
mv ../${CIRCLE_PROJECT_REPONAME}-${CIRCLE_TAG}.tar.gz dist/
|
||||
|
||||
|
@ -119,11 +119,11 @@ workflows:
|
|||
- master
|
||||
jobs: *all-tests
|
||||
|
||||
# publish-github-release:
|
||||
# jobs:
|
||||
# - package-and-publish:
|
||||
# filters:
|
||||
# tags:
|
||||
# only: /^v.*/
|
||||
# branches:
|
||||
# ignore: /.*/
|
||||
publish-github-release:
|
||||
jobs:
|
||||
- package-and-publish:
|
||||
filters:
|
||||
tags:
|
||||
only: /^v.*/
|
||||
branches:
|
||||
ignore: /.*/
|
||||
|
|
Loading…
Reference in a new issue