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