fix the version fix for 5.6.0-RC1

* look for number instead of string
This commit is contained in:
Dan Allen 2022-11-02 17:29:58 -06:00 committed by Rob Winch
parent 32e2793167
commit b211b55043
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ module.exports.register = function () {
this.once('contentAggregated', ({ contentAggregate }) => {
contentAggregate.forEach((componentVersionBucket) => {
if (componentVersionBucket.prerelease === 'true') componentVersionBucket.prerelease = true
if (!componentVersionBucket.name && componentVersionBucket.displayVersion === '5.6') {
if (!componentVersionBucket.name && componentVersionBucket.displayVersion === 5.6) {
componentVersionBucket.name = 'ROOT'
componentVersionBucket.version = '5.6.0-RC1'
delete componentVersionBucket.displayVersion