* Publish workflow * Set PYTHONPATH to allow auto docs to import package * Seperate install, build, publish steps
14 lines
185 B
Bash
Executable File
14 lines
185 B
Bash
Executable File
#!/bin/sh -e
|
|
|
|
if [ -d 'venv' ] ; then
|
|
PREFIX="venv/bin/"
|
|
else
|
|
PREFIX=""
|
|
fi
|
|
|
|
set -x
|
|
|
|
${PREFIX}python setup.py sdist bdist_wheel
|
|
${PREFIX}twine check dist/*
|
|
${PREFIX}mkdocs build
|