Skip to main content

Automatic package release upon pull request merge

Project description

AutoPub

AutoPub enables project maintainers to release new package versions to PyPI by merging pull requests.

Environment

AutoPub is intended for use with continuous integration (CI) systems and currently supports CircleCI. Projects used with AutoPub are assumed to be managed via Poetry.Support for other CI and build systems is planned and contributions adding such support would be welcome.

Configuration

AutoPub settings can be configured via the [tool.autopub] table in the target project’s pyproject.toml file. Required settings include Git username and email address:

[tool.autopub]
git-username = "Your Name"
git-email = "your_email@example.com"

Release Files

Contributors should include a RELEASE.md file in their pull requests with two bits of information:

  • Release type: major, minor, or patch
  • Description of the changes, to be used as the changelog entry

Example:

Release type: patch

Add function to update version strings in multiple files.

Usage

The following autopub sub-commands can be used as steps in your CI flows:

  • autopub check: Check whether release file exists.
  • autopub prepare: Update version strings and add entry to changelog.
  • autopub commit: Add, commit, and push incremented version and changelog changes.
  • autopub githubrelease: Create a new release on GitHub.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

autopub-0.1.0a9.tar.gz (16.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

autopub-0.1.0a9-py3-none-any.whl (19.0 kB view details)

Uploaded Python 3

File details

Details for the file autopub-0.1.0a9.tar.gz.

File metadata

  • Download URL: autopub-0.1.0a9.tar.gz
  • Upload date:
  • Size: 16.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/0.12.16 CPython/3.7.3 Darwin/17.7.0

File hashes

Hashes for autopub-0.1.0a9.tar.gz
Algorithm Hash digest
SHA256 f3ca84f2a0d1f95c9bc720e46482518bcb316307a4a2518a8b0b9a4d806ef227
MD5 0045adf176064c7aee69f43b8a9352b6
BLAKE2b-256 6a85e063203db7b9b3f443bc105984f3bbf827c1db731e61631e33e1379e93cf

See more details on using hashes here.

File details

Details for the file autopub-0.1.0a9-py3-none-any.whl.

File metadata

  • Download URL: autopub-0.1.0a9-py3-none-any.whl
  • Upload date:
  • Size: 19.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/0.12.16 CPython/3.7.3 Darwin/17.7.0

File hashes

Hashes for autopub-0.1.0a9-py3-none-any.whl
Algorithm Hash digest
SHA256 68da2818b4f35ac710d547de63394dc441ba7b2ce89aa77d293ea434404c9cad
MD5 18d3e3cc3f7daf489a5e200939ebf928
BLAKE2b-256 26cdb50f9b48fcda0775c233dbe118af0cd0c505e17afbc9ceeb0671a9ba2e0a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page