Skip to main content

No project description provided

Project description

reporeleaser Build Status

Create a new release for your repo.

This will create a new release for your repo.
In the description of that release it will list all commits since the last release.

Install

Require Python version 3.5.3+

python3 -m pip install -U reporeleaser

Example

reporeleaser --token aaabbbccc111222333 --repo reporeleaser --release minor

This example will create a new release for reporeleaser with this information:

Tag name

Current version + 1 for minor, example 0.1.0

Release name

Current version + 1 for minor, example 0.1.0

Release description

## Changes

- Use regex to find previous tag
- Fix error handing for missing regex match
- Split code into multiple methods
- Create default tag_sha for last_release
- Add failsafe for new_commits
- use username and not name
- Use login not username
- correct versioning for major / minor

[Full Changelog][changelog]

***

This release was created with [reporeleaser][reporeleaser] :tada:

[reporeleaser]: https://pypi.org/project/reporeleaser/
[changelog]: https://github.com/ludeeus/reporeleaser/compare/0.0.4...0.1.0

NB!: it is recommended to run it one time with --test to make sure the data is correct.

CLI options

param alias description
--token -T An GitHub access_token with repo permissions.
--repo -R The repo you are creating a release for, format should be repo if it's your's or user/repo
--release None Can be major, minor, patch or a custom tag name.
--test None This will print to console, and not create the release.
--draft -D Creates a release draft.
--show_sha None Show sha in the description lines. Example with this not set
--hide_footer None Hide the "footer" from the description.
--hide_full_changelog None Hide the "Full changelog" link from the description.
--version -V Print the installed version.

You can only use major, minor, patch if your tags are one of these:

  • MAJOR.MINOR
  • MAJOR.MINOR.PATCH
  • vMAJOR.MINOR
  • vMAJOR.MINOR.PATCH

examples:

  • 1.1
  • 1.1.0
  • v1.1
  • v1.1.0

BuyMeCoffee

Project details


Download files

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

Source Distribution

reporeleaser-1.0.0.tar.gz (5.1 kB view hashes)

Uploaded Source

Supported by

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