- Notifications
You must be signed in to change notification settings - Fork261
Closed
Labels
Description
Question
I have a Cookiecutter template and an instance of the template.
The instance is in a broken state, as it seems that PSR can't detect the current version in order to bump.
❯ semantic-release -v version[10:30:51] INFO [util.load_raw_config_file] Loading configuration from pyproject.toml util.py:79 INFO [config.select_branch_options] Using group 'main' options, as 'main' matches 'main' config.py:590 WARNING [config.from_raw_config] Token value is missing! config.py:785 INFO [algorithm.tags_and_versions] found 2 previous tags algorithm.py:62 INFO [algorithm.next_version] No full releases found in this branch's history algorithm.py:300 INFO [algorithm.next_version] The latest release in this branch's history was 0.0.0 algorithm.py:330 INFO [algorithm.next_version] Found 74 commits since the last release! algorithm.py:342 INFO [algorithm.next_version] The type of the next release release is: minor algorithm.py:3990.1.0 INFO [algorithm.tags_and_versions] found 2 previous tags algorithm.py:62No release will be made, 0.1.0 has already been released! INFO [github_actions_output.write_if_possible] not writing GitHub Actions output, as no file specified github_actions_output.py:74Configuration
Semantic Release Configuration
[tool.semantic_release]version_toml = ["pyproject.toml:project.version"]build_command =""" pip install uv uv lock git add uv.lock uv build"""[tool.semantic_release.changelog.default_templates]changelog_file ="docs/CHANGELOG.md"[tool.semantic_release.branches.main]match ="main"[tool.semantic_release.branches.rc]match ="rc"prerelease =trueprerelease_token ="rc"
Additional context
git log --oneline --decorate --graph --all -n 50
* 0cad873 (HEAD -> main, origin/main, origin/HEAD) feat: lock* 6e04c3f feat: template update* aa2a3f7 chore: update template* 4bef4e4 chore: update template* 1a76d3f chore: update template* 80023be chore: update template* a2e739d Merge pull request #21 from MicaelJarniac:MicaelJarniac/issue20|\ | * d77f929 build(deps): update Poetry to 2.0|/ * a348dcc chore: template update| * 7c1f16c (origin/dependabot/pip/virtualenv-20.26.6) build(deps-dev): bump virtualenv from 20.26.3 to 20.26.6|/ | * 38c1195 (origin/dependabot/pip/jinja2-3.1.5) build(deps-dev): bump jinja2 from 3.1.4 to 3.1.5|/ * ecc77b6 chore: Poetry lock* 0a3bfee chore: update cruft| * 03bab77 (MicaelJarniac/issue16) chore: fix new Ruff| * c7472ac chore: update Ruff and use to format| * 978dafa chore: remove Black|/ * e08eefb Merge pull request #12 from MicaelJarniac:template-update|\ | * ae3faad fix: template update|/ * 25e6968 chore: lockfile* d9a027f Merge pull request #11 from MicaelJarniac:update-template|\ | * 2973b9d chore: update template|/ * ee4f1fc chore: template update* 12a0674 feat: add benchmarking tools (#10)* df022f4 chore: update template* b0fcdbe chore: remove `stubs` Poetry dependency group (#8)* 7af6ce2 chore: template update* f483ae2 chore: template update (#6)* f404355 build(release): update Python Semantic Release* d54c2f7 0.1.1* 12deb0a build(release): fix build command* f6310dc fix: force release* 6300616 build(release): `build_command = "python -m build"`* 3998d47 build: remove version classifiers, Poetry will add* bda1c81 build: fix URLs* 54e0f0c build(docs): fix Poetry install command* ef171f1 docs(readme): fix action badge* 161bbb1 0.1.0* 62b76a6 Revert "0.1.0"* 1654708 0.1.0* 5fef332 Revert "0.1.0"* 3c82321 0.1.0* f8dcba6 build(release): write permissions* 0f62c43 build: install Poetry to build| * f27d87c (tag: v0.1.1) 0.1.1| * f572ae9 build(release): fix build command| * 05ca4a6 fix: force release| * d6b8234 build(release): `build_command = "python -m build"`| * b2cb415 Merge pull request #4 from MicaelJarniac/template| |\ | | * 53f677c build: remove version classifiers, Poetry will add| | * 83427df build: fix URLs