Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 995 Bytes

CONTRIBUTING.md

File metadata and controls

28 lines (19 loc) · 995 Bytes

Build from sources

pipenv run python setup.py clean build bdist bdist_wheel bdist_pex --pex-args="--disable-cache" --bdist-all
docker run -v "$(pwd):/src/" cdrx/pyinstaller-linux "pyinstaller --clean -y --dist ./dist --workpath /tmp *.spec"
docker run -v "$(pwd):/src/" cdrx/pyinstaller-windows "pip install --upgrade setuptools && pyinstaller --clean -y --dist ./dist --workpath /tmp *.spec"

Release

pipenv shell

prerelease

rm -Rf dist/ &&\
pipenv run python setup.py clean build bdist bdist_wheel &&\
docker run -v "$(pwd):/src/" cdrx/pyinstaller-linux "pyinstaller --clean -y --dist ./dist --workpath /tmp *.spec" &&\
docker run -v "$(pwd):/src/" cdrx/pyinstaller-windows "pip install --upgrade setuptools && pyinstaller --clean -y --dist ./dist --workpath /tmp *.spec"

release

RELEASE_VERSION=$(python -m mutagen_helper --version | cut -d ' ' -f 3-)

postrelease

githubrelease release gfi-centre-ouest/mutagen-helper create "$RELEASE_VERSION" --publish "dist/*"