chore: correctly capitalize releaseID (#16079)
This commit is contained in:
parent
280f9bf49c
commit
0431833866
1 changed files with 3 additions and 3 deletions
|
@ -5,8 +5,8 @@ require('colors')
|
||||||
const pass = '\u2713'.green
|
const pass = '\u2713'.green
|
||||||
const fail = '\u2717'.red
|
const fail = '\u2717'.red
|
||||||
const args = require('minimist')(process.argv.slice(2), {
|
const args = require('minimist')(process.argv.slice(2), {
|
||||||
string: ['tag', 'releaseId'],
|
string: ['tag', 'releaseID'],
|
||||||
default: { releaseId: '' }
|
default: { releaseID: '' }
|
||||||
})
|
})
|
||||||
const { execSync } = require('child_process')
|
const { execSync } = require('child_process')
|
||||||
const { GitProcess } = require('dugite')
|
const { GitProcess } = require('dugite')
|
||||||
|
@ -82,7 +82,7 @@ async function deleteTag (tag, targetRepo) {
|
||||||
}
|
}
|
||||||
|
|
||||||
async function cleanReleaseArtifacts () {
|
async function cleanReleaseArtifacts () {
|
||||||
const releaseId = args.releaseId.length > 0 ? args.releaseId : null
|
const releaseId = args.releaseID.length > 0 ? args.releaseID : null
|
||||||
const isNightly = args.tag.includes('nightly')
|
const isNightly = args.tag.includes('nightly')
|
||||||
|
|
||||||
if (releaseId) {
|
if (releaseId) {
|
||||||
|
|
Loading…
Reference in a new issue