Skip to content

Commit b05d10c

Browse files
committed
Add a release target
1 parent 50aeeca commit b05d10c

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

Makefile

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,15 @@
1+
TWINE_REPOSITORY ?= pypi
2+
3+
.PHONY: config-package
14
config-package:
25
uvx --from plone.meta config-package . --no-commit
6+
7+
.PHONY: release
8+
release:
9+
@echo "Releasing to repository: $(TWINE_REPOSITORY)"
10+
@echo "To release to a different repository, run \`make release TWINE_REPOSITORY=<repository>\`"
11+
TWINE_REPOSITORY="$(TWINE_REPOSITORY)" uvx \
12+
--from zest-releaser \
13+
--with zest-releaser\[recommended\] \
14+
--with zestreleaser-towncrier \
15+
fullrelease

0 commit comments

Comments
 (0)