File tree Expand file tree Collapse file tree 4 files changed +69
-11
lines changed
Expand file tree Collapse file tree 4 files changed +69
-11
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ name : Build & upload PyPI package
3+
4+ on :
5+ release :
6+ types :
7+ - published
8+ workflow_dispatch :
9+
10+ jobs :
11+ tests :
12+ uses : " ./.github/workflows/tests.yaml"
13+
14+ # Always build & lint package.
15+ build-package :
16+ name : Build & verify package
17+ needs :
18+ - tests
19+ runs-on : ubuntu-latest
20+ permissions :
21+ attestations : write
22+ id-token : write
23+
24+ steps :
25+ - uses : actions/checkout@v4
26+ with :
27+ fetch-depth : 0
28+ persist-credentials : false
29+
30+ - uses : hynek/build-and-inspect-python-package@v2
31+ with :
32+ attest-build-provenance-github : ' true'
33+
34+ # Upload to real PyPI on GitHub Releases.
35+ release-pypi :
36+ name : Publish released package to pypi.org
37+ environment : release-pypi
38+ if : github.event.action == 'published'
39+ runs-on : ubuntu-latest
40+ needs :
41+ - build-package
42+ permissions :
43+ id-token : write
44+
45+ steps :
46+ - name : Download packages built by build-and-inspect-python-package
47+ uses : actions/download-artifact@v4
48+ with :
49+ name : Packages
50+ path : dist
51+
52+ - name : Upload package to PyPI
53+ uses : pypa/gh-action-pypi-publish@release/v1
54+
Original file line number Diff line number Diff line change 11
2- name : Build and test
2+ name : Test and Check
33
4- on : [push]
4+ on :
5+ push :
6+ branches :
7+ - main
8+ workflow_call :
9+ workflow_dispatch :
510
611jobs :
712 test-and-check :
1520 env :
1621 PRIMARY_PYTHON : ${{ matrix.python-version }}
1722 steps :
18- - uses : actions/checkout@v3
23+ - uses : actions/checkout@v4
1924 - name : Install uv
2025 uses : astral-sh/setup-uv@v6
2126 with :
Original file line number Diff line number Diff line change 22History
33=======
44
5- 2.0.0 (unreleased )
6- ------------------
5+ 2.0.0b1 (2025-07-15 )
6+ --------------------
77
8- - Add support for Plone 6.1.x. Drop support for Plone 5.2.x.
9- Update Makefile and dependencies and use uv.
8+ - Add support for Plone 6.1.x.
9+ Drop support for Plone 5.2.x.
10+ Update Makefile and dependencies, use uv and trusted publishing.
11+ Use Ruff, drop Black.
1012 [jensens]
1113
1214- Package: PEP420 style [jensens]
Original file line number Diff line number Diff line change 11[project ]
22name = " collective.bbcodesnippets"
3- version = " 2.0.0a1 .dev0"
3+ version = " 2.0.0b1 .dev0"
44description = " BBCode Snippet Support for Plone"
55keywords = [" bbcode" , " plone" ]
66readme = " README.rst"
@@ -59,9 +59,6 @@ testpaths = [
5959[tool .isort ]
6060profile = " plone"
6161
62- # [tool.black]
63- # include = "src"
64-
6562[tool .codespell ]
6663ignore-words-list = " discreet,"
6764skip = ' ./venv/*'
You can’t perform that action at this time.
0 commit comments