mirror of
https://github.com/cheveguerra/bot-whatsapp.git
synced 2026-04-18 03:29:15 +00:00
ci(ci): ⚡ update ci
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
const { writeFile, readFileSync } = require('fs')
|
||||
const { join } = require('path')
|
||||
const { spawn, execFile } = require('node:child_process')
|
||||
const { execFile } = require('node:child_process')
|
||||
const process = require('node:process')
|
||||
const util = require('node:util')
|
||||
|
||||
@@ -77,7 +77,7 @@ const packRelease = async (packageName) => {
|
||||
}
|
||||
|
||||
const publishRelease = async (packageName, latest = false) => {
|
||||
const args = !latest ? ['--tag', 'next'] : ['--access', 'public']
|
||||
const args = !latest ? ['--tag', 'dev'] : ['--access', 'public']
|
||||
const pkgJson = join(PATH_PACKAGES, packageName)
|
||||
const { stdout } = await cmd(NPM_COMMAND, ['publish'].concat(args), {
|
||||
stdio: 'inherit',
|
||||
|
||||
Reference in New Issue
Block a user