Skip to content

Commit a55b8ae

Browse files
authored
ci(release): remove totp (#1562)
1 parent c972753 commit a55b8ae

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

scripts/ci-release.mjs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -129,19 +129,14 @@ async function dryRunMode() {
129129
async function prodMode() {
130130
console.log('Running in prod mode')
131131

132-
const totpCode = process.env.TOTP_CODE
133-
if (totpCode == null || totpCode === '') {
134-
raiseError("The 'TOTP_CODE' env var isn't defined")
135-
}
136-
137132
const githubToken = process.env.GITHUB_TOKEN
138133
if (githubToken == null || githubToken === '') {
139134
raiseError("The 'GITHUB_TOKEN' env var isn't defined")
140135
}
141136

142137
try {
143138
await execa('npx',
144-
['lerna', 'publish', 'from-package', `--otp=${totpCode}`, '--no-push', '--no-git-tag-version', '--no-changelog', '--yes'],
139+
['lerna', 'publish', 'from-package', '--no-push', '--no-git-tag-version', '--no-changelog', '--yes'],
145140
{ stdin: process.stdin}
146141
)
147142
.pipeStdout(process.stdout)

0 commit comments

Comments
 (0)