Skip to content

Workflow file for this run

name: Release new EMMOntoPy version
on:
release:
types: [published]
jobs:
publish:
name: External
uses: SINTEF/ci-cd/.github/workflows/[email protected]
if: github.repository == 'emmo-repo/EMMOntoPy' && startsWith(github.ref, 'refs/tags/v')
with:
git_username: EMMOntoPy Developers
git_email: "[email protected]"
release_branch: master
# Publish package
python_package: true
python_version_build: "3.9"
# We're mentioning only 'ontopy', since the version is set statically only in
# ontopy/__init__.py
package_dirs: ontopy
install_extras: "[dev]"
build_cmd: "python -m build"
publish_on_pypi: true
# Update documentation
update_docs: true
python_version_docs: "3.9"
doc_extras: "[docs]"
changelog_exclude_labels: dependencies
secrets:
PyPI_token: ${{ secrets.PYPI_TOKEN }}
PAT: ${{ secrets.RELEASE_PAT }}