浏览代码

Enable packing source

master
Arun Prakash Jana 5 年前
父节点
当前提交
82e7a98705
找不到此签名对应的密钥 GPG 密钥 ID: A75979F35C080412
共有 1 个文件被更改,包括 10 次插入0 次删除
  1. +10
    -0
      .circleci/config.yml

+ 10
- 0
.circleci/config.yml 查看文件

@@ -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}
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: |


正在加载...
取消
保存