For ytpodgen, I want a release script that does:
- use
poetry version <patch/minor/major> to edit pyproject.toml
- git commit that change with the new version number
- create an annotated git tag with the new version number
- build and publish to PyPI
Once all the changes are commited for the next version,
poetry version <patch/minor/major>
git add pyproject.toml && git commit -m $(poetry version -s)
git tag -a -m "$(git log --pretty="%h %s" $(git describe --tags --abbrev=0)..HEAD)" $(poetry version -s)
poetry publish --build -u ${PYPI_USERNAME} -p ${PYPI_SECRET}
For ytpodgen, I want a release script that does:
poetry version <patch/minor/major>to edit pyproject.tomlOnce all the changes are commited for the next version,