mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-05-31 01:02:14 +00:00
fix the version fix for 5.6.0-RC1
* look for number instead of string
This commit is contained in:
parent
32e2793167
commit
b211b55043
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user