Skip to content

Feature: add option to omit tagging - #341

Merged
danth merged 2 commits into
python-semantic-release:masterfrom
jacksbox:feature/no-git-tag-option
Jun 8, 2021
Merged

danth merged 2 commits into
python-semantic-release:masterfrom
jacksbox:feature/no-git-tag-option

Conversation

@jacksbox

@jacksbox jacksbox commented Jun 8, 2021

Copy link
Copy Markdown
Contributor

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.

2 participants