mirror of
https://github.com/gradle/actions.git
synced 2025-08-18 23:01:27 +08:00
[bot] Update dist directory
This commit is contained in:
parent
04b407e41d
commit
6962c6c931
47
dist/dependency-submission/main/index.js
vendored
47
dist/dependency-submission/main/index.js
vendored
@ -144008,7 +144008,7 @@ const testSet = (set, version, options) => {
|
|||||||
|
|
||||||
const debug = __nccwpck_require__(1159)
|
const debug = __nccwpck_require__(1159)
|
||||||
const { MAX_LENGTH, MAX_SAFE_INTEGER } = __nccwpck_require__(45101)
|
const { MAX_LENGTH, MAX_SAFE_INTEGER } = __nccwpck_require__(45101)
|
||||||
const { safeRe: re, t } = __nccwpck_require__(95471)
|
const { safeRe: re, safeSrc: src, t } = __nccwpck_require__(95471)
|
||||||
|
|
||||||
const parseOptions = __nccwpck_require__(70356)
|
const parseOptions = __nccwpck_require__(70356)
|
||||||
const { compareIdentifiers } = __nccwpck_require__(73348)
|
const { compareIdentifiers } = __nccwpck_require__(73348)
|
||||||
@ -144018,7 +144018,7 @@ class SemVer {
|
|||||||
|
|
||||||
if (version instanceof SemVer) {
|
if (version instanceof SemVer) {
|
||||||
if (version.loose === !!options.loose &&
|
if (version.loose === !!options.loose &&
|
||||||
version.includePrerelease === !!options.includePrerelease) {
|
version.includePrerelease === !!options.includePrerelease) {
|
||||||
return version
|
return version
|
||||||
} else {
|
} else {
|
||||||
version = version.version
|
version = version.version
|
||||||
@ -144184,6 +144184,20 @@ class SemVer {
|
|||||||
// preminor will bump the version up to the next minor release, and immediately
|
// preminor will bump the version up to the next minor release, and immediately
|
||||||
// down to pre-release. premajor and prepatch work the same way.
|
// down to pre-release. premajor and prepatch work the same way.
|
||||||
inc (release, identifier, identifierBase) {
|
inc (release, identifier, identifierBase) {
|
||||||
|
if (release.startsWith('pre')) {
|
||||||
|
if (!identifier && identifierBase === false) {
|
||||||
|
throw new Error('invalid increment argument: identifier is empty')
|
||||||
|
}
|
||||||
|
// Avoid an invalid semver results
|
||||||
|
if (identifier) {
|
||||||
|
const r = new RegExp(`^${this.options.loose ? src[t.PRERELEASELOOSE] : src[t.PRERELEASE]}$`)
|
||||||
|
const match = `-${identifier}`.match(r)
|
||||||
|
if (!match || match[1] !== identifier) {
|
||||||
|
throw new Error(`invalid identifier: ${identifier}`)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
switch (release) {
|
switch (release) {
|
||||||
case 'premajor':
|
case 'premajor':
|
||||||
this.prerelease.length = 0
|
this.prerelease.length = 0
|
||||||
@ -144214,6 +144228,12 @@ class SemVer {
|
|||||||
}
|
}
|
||||||
this.inc('pre', identifier, identifierBase)
|
this.inc('pre', identifier, identifierBase)
|
||||||
break
|
break
|
||||||
|
case 'release':
|
||||||
|
if (this.prerelease.length === 0) {
|
||||||
|
throw new Error(`version ${this.raw} is not a prerelease`)
|
||||||
|
}
|
||||||
|
this.prerelease.length = 0
|
||||||
|
break
|
||||||
|
|
||||||
case 'major':
|
case 'major':
|
||||||
// If this is a pre-major version, bump up to the same major version.
|
// If this is a pre-major version, bump up to the same major version.
|
||||||
@ -144257,10 +144277,6 @@ class SemVer {
|
|||||||
case 'pre': {
|
case 'pre': {
|
||||||
const base = Number(identifierBase) ? 1 : 0
|
const base = Number(identifierBase) ? 1 : 0
|
||||||
|
|
||||||
if (!identifier && identifierBase === false) {
|
|
||||||
throw new Error('invalid increment argument: identifier is empty')
|
|
||||||
}
|
|
||||||
|
|
||||||
if (this.prerelease.length === 0) {
|
if (this.prerelease.length === 0) {
|
||||||
this.prerelease = [base]
|
this.prerelease = [base]
|
||||||
} else {
|
} else {
|
||||||
@ -144519,20 +144535,13 @@ const diff = (version1, version2) => {
|
|||||||
return 'major'
|
return 'major'
|
||||||
}
|
}
|
||||||
|
|
||||||
// Otherwise it can be determined by checking the high version
|
// If the main part has no difference
|
||||||
|
if (lowVersion.compareMain(highVersion) === 0) {
|
||||||
if (highVersion.patch) {
|
if (lowVersion.minor && !lowVersion.patch) {
|
||||||
// anything higher than a patch bump would result in the wrong version
|
return 'minor'
|
||||||
|
}
|
||||||
return 'patch'
|
return 'patch'
|
||||||
}
|
}
|
||||||
|
|
||||||
if (highVersion.minor) {
|
|
||||||
// anything higher than a minor bump would result in the wrong version
|
|
||||||
return 'minor'
|
|
||||||
}
|
|
||||||
|
|
||||||
// bumping major/minor/patch all have same result
|
|
||||||
return 'major'
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// add the `pre` prefix if we are going to a prerelease version
|
// add the `pre` prefix if we are going to a prerelease version
|
||||||
@ -145039,6 +145048,7 @@ exports = module.exports = {}
|
|||||||
const re = exports.re = []
|
const re = exports.re = []
|
||||||
const safeRe = exports.safeRe = []
|
const safeRe = exports.safeRe = []
|
||||||
const src = exports.src = []
|
const src = exports.src = []
|
||||||
|
const safeSrc = exports.safeSrc = []
|
||||||
const t = exports.t = {}
|
const t = exports.t = {}
|
||||||
let R = 0
|
let R = 0
|
||||||
|
|
||||||
@ -145071,6 +145081,7 @@ const createToken = (name, value, isGlobal) => {
|
|||||||
debug(name, index, value)
|
debug(name, index, value)
|
||||||
t[name] = index
|
t[name] = index
|
||||||
src[index] = value
|
src[index] = value
|
||||||
|
safeSrc[index] = safe
|
||||||
re[index] = new RegExp(value, isGlobal ? 'g' : undefined)
|
re[index] = new RegExp(value, isGlobal ? 'g' : undefined)
|
||||||
safeRe[index] = new RegExp(safe, isGlobal ? 'g' : undefined)
|
safeRe[index] = new RegExp(safe, isGlobal ? 'g' : undefined)
|
||||||
}
|
}
|
||||||
|
2
dist/dependency-submission/main/index.js.map
vendored
2
dist/dependency-submission/main/index.js.map
vendored
File diff suppressed because one or more lines are too long
47
dist/dependency-submission/post/index.js
vendored
47
dist/dependency-submission/post/index.js
vendored
@ -108284,7 +108284,7 @@ const testSet = (set, version, options) => {
|
|||||||
|
|
||||||
const debug = __nccwpck_require__(1159)
|
const debug = __nccwpck_require__(1159)
|
||||||
const { MAX_LENGTH, MAX_SAFE_INTEGER } = __nccwpck_require__(45101)
|
const { MAX_LENGTH, MAX_SAFE_INTEGER } = __nccwpck_require__(45101)
|
||||||
const { safeRe: re, t } = __nccwpck_require__(95471)
|
const { safeRe: re, safeSrc: src, t } = __nccwpck_require__(95471)
|
||||||
|
|
||||||
const parseOptions = __nccwpck_require__(70356)
|
const parseOptions = __nccwpck_require__(70356)
|
||||||
const { compareIdentifiers } = __nccwpck_require__(73348)
|
const { compareIdentifiers } = __nccwpck_require__(73348)
|
||||||
@ -108294,7 +108294,7 @@ class SemVer {
|
|||||||
|
|
||||||
if (version instanceof SemVer) {
|
if (version instanceof SemVer) {
|
||||||
if (version.loose === !!options.loose &&
|
if (version.loose === !!options.loose &&
|
||||||
version.includePrerelease === !!options.includePrerelease) {
|
version.includePrerelease === !!options.includePrerelease) {
|
||||||
return version
|
return version
|
||||||
} else {
|
} else {
|
||||||
version = version.version
|
version = version.version
|
||||||
@ -108460,6 +108460,20 @@ class SemVer {
|
|||||||
// preminor will bump the version up to the next minor release, and immediately
|
// preminor will bump the version up to the next minor release, and immediately
|
||||||
// down to pre-release. premajor and prepatch work the same way.
|
// down to pre-release. premajor and prepatch work the same way.
|
||||||
inc (release, identifier, identifierBase) {
|
inc (release, identifier, identifierBase) {
|
||||||
|
if (release.startsWith('pre')) {
|
||||||
|
if (!identifier && identifierBase === false) {
|
||||||
|
throw new Error('invalid increment argument: identifier is empty')
|
||||||
|
}
|
||||||
|
// Avoid an invalid semver results
|
||||||
|
if (identifier) {
|
||||||
|
const r = new RegExp(`^${this.options.loose ? src[t.PRERELEASELOOSE] : src[t.PRERELEASE]}$`)
|
||||||
|
const match = `-${identifier}`.match(r)
|
||||||
|
if (!match || match[1] !== identifier) {
|
||||||
|
throw new Error(`invalid identifier: ${identifier}`)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
switch (release) {
|
switch (release) {
|
||||||
case 'premajor':
|
case 'premajor':
|
||||||
this.prerelease.length = 0
|
this.prerelease.length = 0
|
||||||
@ -108490,6 +108504,12 @@ class SemVer {
|
|||||||
}
|
}
|
||||||
this.inc('pre', identifier, identifierBase)
|
this.inc('pre', identifier, identifierBase)
|
||||||
break
|
break
|
||||||
|
case 'release':
|
||||||
|
if (this.prerelease.length === 0) {
|
||||||
|
throw new Error(`version ${this.raw} is not a prerelease`)
|
||||||
|
}
|
||||||
|
this.prerelease.length = 0
|
||||||
|
break
|
||||||
|
|
||||||
case 'major':
|
case 'major':
|
||||||
// If this is a pre-major version, bump up to the same major version.
|
// If this is a pre-major version, bump up to the same major version.
|
||||||
@ -108533,10 +108553,6 @@ class SemVer {
|
|||||||
case 'pre': {
|
case 'pre': {
|
||||||
const base = Number(identifierBase) ? 1 : 0
|
const base = Number(identifierBase) ? 1 : 0
|
||||||
|
|
||||||
if (!identifier && identifierBase === false) {
|
|
||||||
throw new Error('invalid increment argument: identifier is empty')
|
|
||||||
}
|
|
||||||
|
|
||||||
if (this.prerelease.length === 0) {
|
if (this.prerelease.length === 0) {
|
||||||
this.prerelease = [base]
|
this.prerelease = [base]
|
||||||
} else {
|
} else {
|
||||||
@ -108795,20 +108811,13 @@ const diff = (version1, version2) => {
|
|||||||
return 'major'
|
return 'major'
|
||||||
}
|
}
|
||||||
|
|
||||||
// Otherwise it can be determined by checking the high version
|
// If the main part has no difference
|
||||||
|
if (lowVersion.compareMain(highVersion) === 0) {
|
||||||
if (highVersion.patch) {
|
if (lowVersion.minor && !lowVersion.patch) {
|
||||||
// anything higher than a patch bump would result in the wrong version
|
return 'minor'
|
||||||
|
}
|
||||||
return 'patch'
|
return 'patch'
|
||||||
}
|
}
|
||||||
|
|
||||||
if (highVersion.minor) {
|
|
||||||
// anything higher than a minor bump would result in the wrong version
|
|
||||||
return 'minor'
|
|
||||||
}
|
|
||||||
|
|
||||||
// bumping major/minor/patch all have same result
|
|
||||||
return 'major'
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// add the `pre` prefix if we are going to a prerelease version
|
// add the `pre` prefix if we are going to a prerelease version
|
||||||
@ -109315,6 +109324,7 @@ exports = module.exports = {}
|
|||||||
const re = exports.re = []
|
const re = exports.re = []
|
||||||
const safeRe = exports.safeRe = []
|
const safeRe = exports.safeRe = []
|
||||||
const src = exports.src = []
|
const src = exports.src = []
|
||||||
|
const safeSrc = exports.safeSrc = []
|
||||||
const t = exports.t = {}
|
const t = exports.t = {}
|
||||||
let R = 0
|
let R = 0
|
||||||
|
|
||||||
@ -109347,6 +109357,7 @@ const createToken = (name, value, isGlobal) => {
|
|||||||
debug(name, index, value)
|
debug(name, index, value)
|
||||||
t[name] = index
|
t[name] = index
|
||||||
src[index] = value
|
src[index] = value
|
||||||
|
safeSrc[index] = safe
|
||||||
re[index] = new RegExp(value, isGlobal ? 'g' : undefined)
|
re[index] = new RegExp(value, isGlobal ? 'g' : undefined)
|
||||||
safeRe[index] = new RegExp(safe, isGlobal ? 'g' : undefined)
|
safeRe[index] = new RegExp(safe, isGlobal ? 'g' : undefined)
|
||||||
}
|
}
|
||||||
|
2
dist/dependency-submission/post/index.js.map
vendored
2
dist/dependency-submission/post/index.js.map
vendored
File diff suppressed because one or more lines are too long
47
dist/setup-gradle/main/index.js
vendored
47
dist/setup-gradle/main/index.js
vendored
@ -144008,7 +144008,7 @@ const testSet = (set, version, options) => {
|
|||||||
|
|
||||||
const debug = __nccwpck_require__(1159)
|
const debug = __nccwpck_require__(1159)
|
||||||
const { MAX_LENGTH, MAX_SAFE_INTEGER } = __nccwpck_require__(45101)
|
const { MAX_LENGTH, MAX_SAFE_INTEGER } = __nccwpck_require__(45101)
|
||||||
const { safeRe: re, t } = __nccwpck_require__(95471)
|
const { safeRe: re, safeSrc: src, t } = __nccwpck_require__(95471)
|
||||||
|
|
||||||
const parseOptions = __nccwpck_require__(70356)
|
const parseOptions = __nccwpck_require__(70356)
|
||||||
const { compareIdentifiers } = __nccwpck_require__(73348)
|
const { compareIdentifiers } = __nccwpck_require__(73348)
|
||||||
@ -144018,7 +144018,7 @@ class SemVer {
|
|||||||
|
|
||||||
if (version instanceof SemVer) {
|
if (version instanceof SemVer) {
|
||||||
if (version.loose === !!options.loose &&
|
if (version.loose === !!options.loose &&
|
||||||
version.includePrerelease === !!options.includePrerelease) {
|
version.includePrerelease === !!options.includePrerelease) {
|
||||||
return version
|
return version
|
||||||
} else {
|
} else {
|
||||||
version = version.version
|
version = version.version
|
||||||
@ -144184,6 +144184,20 @@ class SemVer {
|
|||||||
// preminor will bump the version up to the next minor release, and immediately
|
// preminor will bump the version up to the next minor release, and immediately
|
||||||
// down to pre-release. premajor and prepatch work the same way.
|
// down to pre-release. premajor and prepatch work the same way.
|
||||||
inc (release, identifier, identifierBase) {
|
inc (release, identifier, identifierBase) {
|
||||||
|
if (release.startsWith('pre')) {
|
||||||
|
if (!identifier && identifierBase === false) {
|
||||||
|
throw new Error('invalid increment argument: identifier is empty')
|
||||||
|
}
|
||||||
|
// Avoid an invalid semver results
|
||||||
|
if (identifier) {
|
||||||
|
const r = new RegExp(`^${this.options.loose ? src[t.PRERELEASELOOSE] : src[t.PRERELEASE]}$`)
|
||||||
|
const match = `-${identifier}`.match(r)
|
||||||
|
if (!match || match[1] !== identifier) {
|
||||||
|
throw new Error(`invalid identifier: ${identifier}`)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
switch (release) {
|
switch (release) {
|
||||||
case 'premajor':
|
case 'premajor':
|
||||||
this.prerelease.length = 0
|
this.prerelease.length = 0
|
||||||
@ -144214,6 +144228,12 @@ class SemVer {
|
|||||||
}
|
}
|
||||||
this.inc('pre', identifier, identifierBase)
|
this.inc('pre', identifier, identifierBase)
|
||||||
break
|
break
|
||||||
|
case 'release':
|
||||||
|
if (this.prerelease.length === 0) {
|
||||||
|
throw new Error(`version ${this.raw} is not a prerelease`)
|
||||||
|
}
|
||||||
|
this.prerelease.length = 0
|
||||||
|
break
|
||||||
|
|
||||||
case 'major':
|
case 'major':
|
||||||
// If this is a pre-major version, bump up to the same major version.
|
// If this is a pre-major version, bump up to the same major version.
|
||||||
@ -144257,10 +144277,6 @@ class SemVer {
|
|||||||
case 'pre': {
|
case 'pre': {
|
||||||
const base = Number(identifierBase) ? 1 : 0
|
const base = Number(identifierBase) ? 1 : 0
|
||||||
|
|
||||||
if (!identifier && identifierBase === false) {
|
|
||||||
throw new Error('invalid increment argument: identifier is empty')
|
|
||||||
}
|
|
||||||
|
|
||||||
if (this.prerelease.length === 0) {
|
if (this.prerelease.length === 0) {
|
||||||
this.prerelease = [base]
|
this.prerelease = [base]
|
||||||
} else {
|
} else {
|
||||||
@ -144519,20 +144535,13 @@ const diff = (version1, version2) => {
|
|||||||
return 'major'
|
return 'major'
|
||||||
}
|
}
|
||||||
|
|
||||||
// Otherwise it can be determined by checking the high version
|
// If the main part has no difference
|
||||||
|
if (lowVersion.compareMain(highVersion) === 0) {
|
||||||
if (highVersion.patch) {
|
if (lowVersion.minor && !lowVersion.patch) {
|
||||||
// anything higher than a patch bump would result in the wrong version
|
return 'minor'
|
||||||
|
}
|
||||||
return 'patch'
|
return 'patch'
|
||||||
}
|
}
|
||||||
|
|
||||||
if (highVersion.minor) {
|
|
||||||
// anything higher than a minor bump would result in the wrong version
|
|
||||||
return 'minor'
|
|
||||||
}
|
|
||||||
|
|
||||||
// bumping major/minor/patch all have same result
|
|
||||||
return 'major'
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// add the `pre` prefix if we are going to a prerelease version
|
// add the `pre` prefix if we are going to a prerelease version
|
||||||
@ -145039,6 +145048,7 @@ exports = module.exports = {}
|
|||||||
const re = exports.re = []
|
const re = exports.re = []
|
||||||
const safeRe = exports.safeRe = []
|
const safeRe = exports.safeRe = []
|
||||||
const src = exports.src = []
|
const src = exports.src = []
|
||||||
|
const safeSrc = exports.safeSrc = []
|
||||||
const t = exports.t = {}
|
const t = exports.t = {}
|
||||||
let R = 0
|
let R = 0
|
||||||
|
|
||||||
@ -145071,6 +145081,7 @@ const createToken = (name, value, isGlobal) => {
|
|||||||
debug(name, index, value)
|
debug(name, index, value)
|
||||||
t[name] = index
|
t[name] = index
|
||||||
src[index] = value
|
src[index] = value
|
||||||
|
safeSrc[index] = safe
|
||||||
re[index] = new RegExp(value, isGlobal ? 'g' : undefined)
|
re[index] = new RegExp(value, isGlobal ? 'g' : undefined)
|
||||||
safeRe[index] = new RegExp(safe, isGlobal ? 'g' : undefined)
|
safeRe[index] = new RegExp(safe, isGlobal ? 'g' : undefined)
|
||||||
}
|
}
|
||||||
|
2
dist/setup-gradle/main/index.js.map
vendored
2
dist/setup-gradle/main/index.js.map
vendored
File diff suppressed because one or more lines are too long
47
dist/setup-gradle/post/index.js
vendored
47
dist/setup-gradle/post/index.js
vendored
@ -144008,7 +144008,7 @@ const testSet = (set, version, options) => {
|
|||||||
|
|
||||||
const debug = __nccwpck_require__(1159)
|
const debug = __nccwpck_require__(1159)
|
||||||
const { MAX_LENGTH, MAX_SAFE_INTEGER } = __nccwpck_require__(45101)
|
const { MAX_LENGTH, MAX_SAFE_INTEGER } = __nccwpck_require__(45101)
|
||||||
const { safeRe: re, t } = __nccwpck_require__(95471)
|
const { safeRe: re, safeSrc: src, t } = __nccwpck_require__(95471)
|
||||||
|
|
||||||
const parseOptions = __nccwpck_require__(70356)
|
const parseOptions = __nccwpck_require__(70356)
|
||||||
const { compareIdentifiers } = __nccwpck_require__(73348)
|
const { compareIdentifiers } = __nccwpck_require__(73348)
|
||||||
@ -144018,7 +144018,7 @@ class SemVer {
|
|||||||
|
|
||||||
if (version instanceof SemVer) {
|
if (version instanceof SemVer) {
|
||||||
if (version.loose === !!options.loose &&
|
if (version.loose === !!options.loose &&
|
||||||
version.includePrerelease === !!options.includePrerelease) {
|
version.includePrerelease === !!options.includePrerelease) {
|
||||||
return version
|
return version
|
||||||
} else {
|
} else {
|
||||||
version = version.version
|
version = version.version
|
||||||
@ -144184,6 +144184,20 @@ class SemVer {
|
|||||||
// preminor will bump the version up to the next minor release, and immediately
|
// preminor will bump the version up to the next minor release, and immediately
|
||||||
// down to pre-release. premajor and prepatch work the same way.
|
// down to pre-release. premajor and prepatch work the same way.
|
||||||
inc (release, identifier, identifierBase) {
|
inc (release, identifier, identifierBase) {
|
||||||
|
if (release.startsWith('pre')) {
|
||||||
|
if (!identifier && identifierBase === false) {
|
||||||
|
throw new Error('invalid increment argument: identifier is empty')
|
||||||
|
}
|
||||||
|
// Avoid an invalid semver results
|
||||||
|
if (identifier) {
|
||||||
|
const r = new RegExp(`^${this.options.loose ? src[t.PRERELEASELOOSE] : src[t.PRERELEASE]}$`)
|
||||||
|
const match = `-${identifier}`.match(r)
|
||||||
|
if (!match || match[1] !== identifier) {
|
||||||
|
throw new Error(`invalid identifier: ${identifier}`)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
switch (release) {
|
switch (release) {
|
||||||
case 'premajor':
|
case 'premajor':
|
||||||
this.prerelease.length = 0
|
this.prerelease.length = 0
|
||||||
@ -144214,6 +144228,12 @@ class SemVer {
|
|||||||
}
|
}
|
||||||
this.inc('pre', identifier, identifierBase)
|
this.inc('pre', identifier, identifierBase)
|
||||||
break
|
break
|
||||||
|
case 'release':
|
||||||
|
if (this.prerelease.length === 0) {
|
||||||
|
throw new Error(`version ${this.raw} is not a prerelease`)
|
||||||
|
}
|
||||||
|
this.prerelease.length = 0
|
||||||
|
break
|
||||||
|
|
||||||
case 'major':
|
case 'major':
|
||||||
// If this is a pre-major version, bump up to the same major version.
|
// If this is a pre-major version, bump up to the same major version.
|
||||||
@ -144257,10 +144277,6 @@ class SemVer {
|
|||||||
case 'pre': {
|
case 'pre': {
|
||||||
const base = Number(identifierBase) ? 1 : 0
|
const base = Number(identifierBase) ? 1 : 0
|
||||||
|
|
||||||
if (!identifier && identifierBase === false) {
|
|
||||||
throw new Error('invalid increment argument: identifier is empty')
|
|
||||||
}
|
|
||||||
|
|
||||||
if (this.prerelease.length === 0) {
|
if (this.prerelease.length === 0) {
|
||||||
this.prerelease = [base]
|
this.prerelease = [base]
|
||||||
} else {
|
} else {
|
||||||
@ -144519,20 +144535,13 @@ const diff = (version1, version2) => {
|
|||||||
return 'major'
|
return 'major'
|
||||||
}
|
}
|
||||||
|
|
||||||
// Otherwise it can be determined by checking the high version
|
// If the main part has no difference
|
||||||
|
if (lowVersion.compareMain(highVersion) === 0) {
|
||||||
if (highVersion.patch) {
|
if (lowVersion.minor && !lowVersion.patch) {
|
||||||
// anything higher than a patch bump would result in the wrong version
|
return 'minor'
|
||||||
|
}
|
||||||
return 'patch'
|
return 'patch'
|
||||||
}
|
}
|
||||||
|
|
||||||
if (highVersion.minor) {
|
|
||||||
// anything higher than a minor bump would result in the wrong version
|
|
||||||
return 'minor'
|
|
||||||
}
|
|
||||||
|
|
||||||
// bumping major/minor/patch all have same result
|
|
||||||
return 'major'
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// add the `pre` prefix if we are going to a prerelease version
|
// add the `pre` prefix if we are going to a prerelease version
|
||||||
@ -145039,6 +145048,7 @@ exports = module.exports = {}
|
|||||||
const re = exports.re = []
|
const re = exports.re = []
|
||||||
const safeRe = exports.safeRe = []
|
const safeRe = exports.safeRe = []
|
||||||
const src = exports.src = []
|
const src = exports.src = []
|
||||||
|
const safeSrc = exports.safeSrc = []
|
||||||
const t = exports.t = {}
|
const t = exports.t = {}
|
||||||
let R = 0
|
let R = 0
|
||||||
|
|
||||||
@ -145071,6 +145081,7 @@ const createToken = (name, value, isGlobal) => {
|
|||||||
debug(name, index, value)
|
debug(name, index, value)
|
||||||
t[name] = index
|
t[name] = index
|
||||||
src[index] = value
|
src[index] = value
|
||||||
|
safeSrc[index] = safe
|
||||||
re[index] = new RegExp(value, isGlobal ? 'g' : undefined)
|
re[index] = new RegExp(value, isGlobal ? 'g' : undefined)
|
||||||
safeRe[index] = new RegExp(safe, isGlobal ? 'g' : undefined)
|
safeRe[index] = new RegExp(safe, isGlobal ? 'g' : undefined)
|
||||||
}
|
}
|
||||||
|
2
dist/setup-gradle/post/index.js.map
vendored
2
dist/setup-gradle/post/index.js.map
vendored
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user