Commit 257a092 1 parent 191ead7 commit 257a092 Copy full SHA for 257a092
File tree 6 files changed +29
-3
lines changed
6 files changed +29
-3
lines changed Original file line number Diff line number Diff line change
1
+ 2.4.0 (unreleased)
2
+ ------------------
3
+
4
+ - no changes yet
5
+
6
+
1
7
2.3.0 (2022-10-03)
2
8
------------------
3
9
Original file line number Diff line number Diff line change 2
2
3
3
from setuptools import setup , find_packages
4
4
5
- version = "2.3 .0"
5
+ version = "2.4 .0"
6
6
7
7
with open ("docs/About.rst" , "r" ) as fh :
8
8
long_description = fh .read ()
Original file line number Diff line number Diff line change 1
1
<metadata >
2
- <version >2300 </version >
2
+ <version >2400 </version >
3
3
</metadata >
Original file line number Diff line number Diff line change 1
1
<metadata >
2
- <version >2300 </version >
2
+ <version >2400 </version >
3
3
</metadata >
Original file line number Diff line number Diff line change 3
3
xmlns : genericsetup =" http://namespaces.zope.org/genericsetup"
4
4
i18n_domain =" senaite.impress" >
5
5
6
+ <genericsetup : upgradeStep
7
+ title =" Upgrade SENAITE IMPRESS"
8
+ description =" Upgrade to version 2.4.0"
9
+ sortkey =" 1"
10
+ source =" 2300"
11
+ destination =" 2400"
12
+ handler =" senaite.impress.upgrades.handlers.to_2400"
13
+ profile =" senaite.impress:default" />
14
+
6
15
<genericsetup : upgradeStep
7
16
title =" Upgrade SENAITE IMPRESS"
8
17
description =" Upgrade to version 2.3.0"
Original file line number Diff line number Diff line change 23
23
PROFILE_ID = "profile-senaite.impress:default"
24
24
25
25
26
+ def to_2400 (portal_setup ):
27
+ """Update to version 2.4.0
28
+
29
+ :param portal_setup: The portal_setup tool
30
+ """
31
+
32
+ logger .info ("Run all import steps from SENAITE IMPRESS ..." )
33
+ portal_setup .runAllImportStepsFromProfile (PROFILE_ID )
34
+ logger .info ("Run all import steps from SENAITE IMPRESS [DONE]" )
35
+
36
+
26
37
def to_2300 (portal_setup ):
27
38
"""Update to version 2.3.0
28
39
You can’t perform that action at this time.
0 commit comments