File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -132,3 +132,9 @@ test-coverage: $(VENV_FOLDER) ## run tests with coverage
132132# # Add bobtemplates features (check bobtemplates.plone's documentation to get the list of available features)
133133add : $(VENV_FOLDER )
134134 @uvx plonecli add -b .mrbob.ini $(filter-out $@ ,$(MAKECMDGOALS ) )
135+
136+ .PHONY : release
137+ release : $(VENV_FOLDER ) # # Create a release
138+ @echo " $( GREEN) ==> Create a release$( RESET) "
139+ @uv pip install -e " .[release]"
140+ @uv run fullrelease
Original file line number Diff line number Diff line change @@ -39,6 +39,11 @@ test = [
3939 " pytest-cov" ,
4040 " pytest-plone>=0.5.0" ,
4141]
42+ release = [
43+ " zest.releaser[recommended]" ,
44+ " zestreleaser.towncrier" ,
45+ " zest.pocompile" ,
46+ ]
4247
4348[project .urls ]
4449Homepage = " https://github.com/collective/cs_dynamicpages"
@@ -169,3 +174,7 @@ source_pkgs = ["cs_dynamicpages", "tests"]
169174branch = true
170175parallel = true
171176omit = [" src/cs_dynamicpages/locales/*.py" ]
177+
178+
179+ [tool .zest-releaser ]
180+ python-file-with-version = " src/cs_dynamicpages/__init__.py"
You can’t perform that action at this time.
0 commit comments