Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: add option to omit tagging #341

Merged

Conversation

jacksbox
Copy link
Contributor

@jacksbox jacksbox commented Jun 8, 2021

I'm trying to use python-semantic-release in a monorepo, where I need to version individual libraries separately. This sadly gets blocked python-semantic-release: Some libraries could have the same version and while versioning would like to create the same (an existing) tag.

This PR solves this problem (the easy way for now) by adding an option to omit the tagging of commits. This obviously only works with the version_source="commit" option.

I'm relatively new to python, so any feedback on the implementation is highly appreciated :)

OT: it would be nice if python-semantic-release would support custom version string formats, e.g. like lerna for js does - this would enable alpha, beta, canary releases as well as custom version tags for individual libs in monorepos.
Should this be an interesting option, I would create a real issue for this and would throw in my dev hands to implement this :)

@danth danth merged commit 20603e5 into python-semantic-release:master Jun 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants