From dc6b549e03ede56787c9875a61e4dc9254c04776 Mon Sep 17 00:00:00 2001 From: "Heliomar P. Marques" Date: Mon, 1 Jul 2024 15:06:59 -0300 Subject: [PATCH] feat: added arg --test in script for release --- cmd/modules/release/index.js | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/cmd/modules/release/index.js b/cmd/modules/release/index.js index fdd95ca5..0522cff8 100644 --- a/cmd/modules/release/index.js +++ b/cmd/modules/release/index.js @@ -45,7 +45,6 @@ async function makeRelease(commitAndPush = true) { { inherit: true } ) - console.log(`\n${COLORS.GREEN}Done!${COLORS.RESET}\n`) } else { console.log(`\n${COLORS.BLUE}Commit and push skipped!${COLORS.RESET}\n`); } @@ -53,16 +52,10 @@ async function makeRelease(commitAndPush = true) { const [repository] = exec([`git remote get-url --push origin`]) const ownerAndRepo = extractOwnerAndRepoFromGitRemoteURL(repository) - console.log( - `${COLORS.CYAN}> Opening the repository releases page...${COLORS.RESET}` - ) - + console.log(`${COLORS.CYAN}> Opening the repository releases page...${COLORS.RESET}`) await open(`https://github.com/${ownerAndRepo}/releases`) - console.log( - `${COLORS.CYAN}> Opening the repository actions page...${COLORS.RESET}` - ) - + console.log(`${COLORS.CYAN}> Opening the repository actions page...${COLORS.RESET}`) await open(`https://github.com/${ownerAndRepo}/actions`) console.log(`\n${COLORS.GREEN}Done!${COLORS.RESET}\n`)