Skip to content

Latest commit

 

History

History
48 lines (28 loc) · 946 Bytes

PUBLISH.md

File metadata and controls

48 lines (28 loc) · 946 Bytes

Continuous Integration PyPI version

Publish onTime on PyPI

This is a simple guide to publish onTime on PyPI.

Steps

Change branch to main

git checkout main

Merge develop on main

git merge develop
git push

Update the version in pyproject.toml

[tool.poetry]
name = "ontime"
version = "x.y.z-suffix"

Commit and push

git add pyproject.toml
git commit -m 'Update version to x.y.z-suffix'

Tag the version

git tag -a v<x.y.z-suffix> -m 'Version x.y.z-suffix'
git push origin v<x.y.z-suffix>

Build

make build

Publish

make publish

Check that the package is available on PyPI

https://pypi.org/project/ontime/#history

Done! 🎉