Skip to content

Commit 4e3fb19

Browse files
authored
chore: Fix publish action (#468)
* fix: Build config * add action * Reset action trigger * run action on PR * Update version and changelog
1 parent a851868 commit 4e3fb19

File tree

6 files changed

+10
-37
lines changed

6 files changed

+10
-37
lines changed

.github/workflows/publish-to-test-pypi.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
name: Publish Python 🐍 distributions 📦 to TestPyPI
22

33
on:
4-
push:
4+
pull_request:
55
branches:
66
- master
77

8+
89
jobs:
910
build-n-publish:
1011
name: Build and publish Python 🐍 distributions 📦 to TestPyPI

CHANGELOG.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Changelog
33
=========
44

5-
2.3.0 (2025-05-13)
5+
2.3.1 (2025-05-13)
66
==================
77

88
* feat: Improve default copy method to also copy placeholders and plugins by @fsbraun in https://github.com/django-cms/djangocms-versioning/pull/345

MANIFEST.in

Lines changed: 0 additions & 6 deletions
This file was deleted.

djangocms_versioning/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "2.3.0"
1+
__version__ = "2.3.1"

pyproject.toml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,12 @@ dynamic = [ "version" ]
3636
homepage = "https://github.com/django-cms/djangocms-versioning"
3737

3838
[tool.setuptools]
39-
packages = ["djangocms_versioning"]
39+
packages = [
40+
"djangocms_versioning",
41+
"djangocms_versioning.migrations",
42+
"djangocms_versioning.templatetags",
43+
]
44+
package-data = { "djangocms_versioning" = ["templates/**/*", "static/**/*", "locale/**/*"] }
4045

4146
[tool.setuptools.dynamic]
4247
version = { attr = "djangocms_versioning.__version__" }

setup.cfg

Lines changed: 0 additions & 27 deletions
This file was deleted.

0 commit comments

Comments
 (0)