How do I release? #794
-
So, I have created a project with this template, located at github/ceceayo/komis, and I can not find how to release a stable version. I have figured the version number is generated automatically based on the commit message. By starting my commit message with |
Beta Was this translation helpful? Give feedback.
Answered by
browniebroke
Sep 1, 2024
Replies: 1 comment 1 reply
-
I think it's because your main branch is called "master" while the template assumes that you'll use "main". You'll need to change this bit: To the following: [tool.semantic_release.branches.master]
match = "master"
[tool.semantic_release.branches.noop]
match = "(?!master$)"
prerelease = true |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
ceceayo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think it's because your main branch is called "master" while the template assumes that you'll use "main". You'll need to change this bit:
https://github.com/ceceayo/komis/blob/71fb472ddf11b551a5728ce0a2d15b84189b5be5/pyproject.toml#L66-L71
To the following: