Skip to content

Commit

Permalink
docs(contributing): We are now using github actions and semantic release
Browse files Browse the repository at this point in the history
  • Loading branch information
Toilal committed Dec 17, 2020
1 parent 83e97e9 commit b4f1127
Showing 1 changed file with 2 additions and 22 deletions.
24 changes: 2 additions & 22 deletions CONTRIBUTING.md
Expand Up @@ -148,25 +148,5 @@ pytest

## Build and release process

The release process requires docker with custom images of `cdrx/pyinstaller-linux` and `cdrx/pyinstaller-windows`.

A [pull request is opened](https://github.com/cdrx/docker-pyinstaller/pull/90) and I hope it will be merged soon.

Those custom images are available on Docker Hub under `toilal/pyinstaller-linux` and `toilal/pyinstaller-windows`
repositories.

```
prerelease
rm -Rf dist/ &&\
python setup.py clean build bdist bdist_wheel bdist_pex --pex-args="--disable-cache" --bdist-all &&\
docker run --rm --init -v "$(pwd):/src/" -e "DISABLE_REQUIREMENTS=1" toilal/pyinstaller-linux:xenial "pip install --upgrade setuptools && pip install -r requirements.txt && pyinstaller --clean -y --dist ./dist --workpath /tmp *.spec" &&\
docker run --rm --init -v "$(pwd):/src/" -e "DISABLE_REQUIREMENTS=1" toilal/pyinstaller-windows "pip install --upgrade setuptools && pip install whl/jsonnet-0.15.0-cp37-cp37m-win_amd64.whl && pip install -r requirements.txt && pyinstaller --clean -y --dist ./dist --workpath /tmp *.spec"
release
githubrelease release gfi-centre-ouest/docker-devbox-ddb create $(python -m ddb --version -s) --name $(python -m ddb --version -s) --publish "dist/*"
postrelease
```

The release process is automated through Github Actions and
[semantic-release](https://python-semantic-release.readthedocs.io/en/latest/), triggered when pushing to `master`.

0 comments on commit b4f1127

Please sign in to comment.