Skip to content

Commit

Permalink
run publish for real
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronmgdr committed Oct 23, 2023
1 parent a0d6030 commit 88e0c63
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions publish.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ const FAKE_OUTPUT = `
🦋 warn @celo/encrypted-backup is not being published because version 5.0.4 is already published on npm
🦋 warn @celo/identity is not being published because version 5.0.4 is already published on npm
🦋 info Publishing "@celo/phone-number-privacy-common" at "3.0.4-alpha-964a99345"
🦋 info Publishing "@celo/identity-common" at "3.0.4-alpha-964a99345"
🦋 info Publishing "@celo/identity" at "3.0.4-alpha-964a99345"
`
// publish packages as alpha and return the list of packages published
function publish() {
// const snapshot = child_process.execSync('yarn cs publish --tag alpha --no-git-tag')
const snapshot = child_process.execSync(`echo "${FAKE_OUTPUT}"`)
const snapshot = child_process.execSync('yarn cs publish --tag alpha --no-git-tag')
// const snapshot = child_process.execSync(`echo "${FAKE_OUTPUT}"`)
const arrayOfLines = snapshot.toString().split('\n').map((line: string) => {
const matches = line.match(/info Publishing @celo.*$/)
return matches
Expand Down

0 comments on commit 88e0c63

Please sign in to comment.