Skip to content

Commit

Permalink
Do not use zest.releaser in release action
Browse files Browse the repository at this point in the history
  • Loading branch information
leplatrem committed Dec 20, 2023
1 parent 0370dbe commit dec8834
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 26 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,14 @@ jobs:
node-version: "14"
- run: npm --version

- name: Install release tools
run: pip install "zest.releaser[recommended]"
- name: Build Admin UI
run: make build-kinto-admin

- name: Install pypa/build
run: python3 -m pip install build

- name: Build a binary wheel and a source tarball
run: release --no-input
run: python3 -m build

- name: Store the distribution packages
uses: actions/upload-artifact@v3
Expand Down
2 changes: 1 addition & 1 deletion docs/community.rst
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ How to release

In order to prepare a new release, we are following the following steps.

The `prerelease` and `postrelease` commands are coming from `zest.releaser
The ``prerelease`` and ``postrelease`` commands are coming from `zest.releaser
<https://pypi.python.org/pypi/zest.releaser>`_, which should already be
installed along with other development requirements.

Expand Down
17 changes: 0 additions & 17 deletions kinto/plugins/admin/release_hook.py

This file was deleted.

5 changes: 0 additions & 5 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -84,16 +84,11 @@ monitoring =
[aliases]
test=pytest

[zest.releaser]
create-wheel = yes
releaser.after_checkout = kinto.plugins.admin.release_hook.after_checkout

[bdist_wheel]
python_tag=cp3

[coverage:run]
branch = True
omit = kinto/plugins/admin/release_hook.py

[flake8]
max-line-length = 99
Expand Down

0 comments on commit dec8834

Please sign in to comment.