/poetry-plugin-github-release

A poetry plugin for creating GitHub releases (and git tags).

Primary LanguagePythonMIT LicenseMIT

Warning Archived in favor of just using the GitHub CLI to create releases and upload assets.

GitHub Release plugin for Poetry

black isort pycln pylint

A plugin for Poetry that adds a release subcommand which creates a new release on GitHub, and with that a new Git tag as well.

Installation

Using poetry:

$ poetry self add git+https://github.com/milivojevicu/poetry-plugin-github-release

Using pipx inject:

$ pipx inject poetry git+https://github.com/milivojevicu/poetry-plugin-github-release

Using pip:

$ pip install git+https://github.com/milivojevicu/poetry-plugin-github-release

More details at: python-poetry.org/docs/plugins

Usage

$ poetry release
Release v0.1.0 created and accessable through the following URL:
  https://github.com/milivojevicu/poetry-plugin-github-release/releases/tag/v0.1.0
Attempting to attach 2 asset(s) to the release.
  1. Uploading 'poetry-plugin-github-release-0.1.0.tar.gz'... Done.
  2. Uploading 'poetry_plugin_github_release-0.1.0-py3-none-any.whl'... Done.