Increase metadata version to 2000.

We need to leave some room for another upgrade step in Plone 5.2.
This commit is contained in:
Maurits van Rees 2022-05-10 21:36:50 +02:00
parent 245a2d9be3
commit 1ea81e4a90
No known key found for this signature in database
GPG Key ID: AAEC1E5318E6FCCE
2 changed files with 14 additions and 21 deletions

View File

@ -1,5 +1,5 @@
<metadata> <metadata>
<version>1005</version> <version>2000</version>
<dependencies> <dependencies>
<dependency>profile-plone.resource:default</dependency> <dependency>profile-plone.resource:default</dependency>
<dependency>profile-plone.app.registry:default</dependency> <dependency>profile-plone.app.registry:default</dependency>

View File

@ -73,26 +73,19 @@
/> />
</genericsetup:upgradeSteps> </genericsetup:upgradeSteps>
<genericsetup:upgradeSteps
source="1999"
destination="2000"
profile="plone.app.discussion:default">
<genericsetup:upgradeDepends <genericsetup:upgradeDepends
source="1002"
destination="1003"
profile="plone.app.discussion:default"
title="Update controlpanel icon" title="Update controlpanel icon"
import_steps="controlpanel" /> import_steps="controlpanel" />
<genericsetup:upgradeDepends <genericsetup:upgradeDepends
source="1003"
destination="1004"
profile="plone.app.discussion:default"
title="Add 'View comments' permission" title="Add 'View comments' permission"
import_steps="rolemap" /> import_steps="rolemap" />
<genericsetup:upgradeStep <genericsetup:upgradeStep
source="1004"
destination="1005"
profile="plone.app.discussion:default"
title="Grant Site Administrator permissions on pending comments" title="Grant Site Administrator permissions on pending comments"
handler=".upgrades.upgrade_comment_workflows" handler=".upgrades.upgrade_comment_workflows" />
/> </genericsetup:upgradeSteps>
</configure> </configure>