Skip to content

Commit

Permalink
postrelease handling
Browse files Browse the repository at this point in the history
  • Loading branch information
jensens committed Mar 1, 2024
1 parent 9dccf73 commit cc8624f
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,6 @@ jobs:
verbose: true
- name: Postrelease
run: >-
make postrelease
make ZEST_RELEASER_POSTRELEASE_OPTIONS=--no-input postrelease
git commit pyproject.toml CHANGES.md -m"Post release: back to development."
git push
26 changes: 22 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,24 @@ MYPY_SRC?=src
# Default: types-setuptools
MYPY_REQUIREMENTS?=types-setuptools

## applications.zest-releaser

# Options to pass to zest.releaser prerelease command.
# No default value.
ZEST_RELEASER_PRERELEASE_OPTIONS?=

# Options to pass to zest.releaser release command.
# No default value.
ZEST_RELEASER_RELEASE_OPTIONS?=

# Options to pass to zest.releaser postrelease command.
# No default value.
ZEST_RELEASER_POSTRELEASE_OPTIONS?=

# Options to pass to zest.releaser fullrelease command.
# No default value.
ZEST_RELEASER_FULLRELEASE_OPTIONS?=

##############################################################################
# END SETTINGS - DO NOT EDIT BELOW THIS LINE
##############################################################################
Expand Down Expand Up @@ -504,22 +522,22 @@ $(ZEST_RELEASER_TARGET): $(MXENV_TARGET)
.PHONY: zest-releaser-prerelease
zest-releaser-prerelease: $(ZEST_RELEASER_TARGET)
@echo "Run prerelease"
@prerelease
@prerelease $(ZEST_RELEASER_PRERELEASE_OPTIONS)

.PHONY: zest-releaser-release
zest-releaser-release: $(ZEST_RELEASER_TARGET)
@echo "Run release"
@release
@release $(ZEST_RELEASER_RELEASE_OPTIONS)

.PHONY: zest-releaser-postrelease
zest-releaser-postrelease: $(ZEST_RELEASER_TARGET)
@echo "Run postrelease"
@postrelease --no-input
@postrelease $(ZEST_RELEASER_POSTRELEASE_OPTIONS)

.PHONY: zest-releaser-fullrelease
zest-releaser-fullrelease: $(ZEST_RELEASER_TARGET)
@echo "Run fullrelease"
@fullrelease
@fullrelease $(ZEST_RELEASER_FULLRELEASE_OPTIONS)

.PHONY: zest-releaser-dirty
zest-releaser-dirty:
Expand Down

0 comments on commit cc8624f

Please sign in to comment.