Skip to content

Commit

Permalink
less chatty
Browse files Browse the repository at this point in the history
  • Loading branch information
jondot committed Feb 28, 2022
1 parent 989d89a commit 2892391
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/standalone.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ const main = async () => {
const matches = (
await execa.command(`shasum -a 256 ${wd}/hygen.macos.v${v}.tar.gz`, opts)
).stdout.match(/([a-f0-9]+)\s+/)
console.log(matches)
if (matches && matches.length > 1) {
const sha = matches[1]
await fs.writeFile('/tmp/hygen.rb', brewFormula(sha, v)) // eslint-disable-line @typescript-eslint/no-use-before-define
Expand All @@ -58,7 +57,7 @@ const main = async () => {
`git commit -m 'hygen: auto-release'`,
`git push https://${process.env.GITHUB_TOKEN}@${repo}`,
].join(' && ')
console.log(await execa.command(cmd, opts).stdout)
await execa.command(cmd, opts)

console.log('standalone: publish done.')
}
Expand Down

0 comments on commit 2892391

Please sign in to comment.