Skip to content

Commit

Permalink
feat: added arg --test in script for release
Browse files Browse the repository at this point in the history
  • Loading branch information
heliomarpm committed Jul 1, 2024
1 parent 5d1ded8 commit dc6b549
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions cmd/modules/release/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,24 +45,17 @@ 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`);
}

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`)
Expand Down

0 comments on commit dc6b549

Please sign in to comment.