Skip to content

Commit

Permalink
fix: Adjust release script
Browse files Browse the repository at this point in the history
  • Loading branch information
jhnns committed Nov 10, 2024
1 parent 3668267 commit df43151
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .releaserc.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@
[
"@semantic-release/exec",
{
"verifyConditionsCmd": "echo //npm.pkg.github.com/:_authToken=${process.env.GITHUB_TOKEN} > $TMPDIR/github.npmrc && npm whoami --userconfig $TMPDIR/github.npmrc --registry https://npm.pkg.github.com/",
"publishCmd": "npm publish --userconfig $TMPDIR/github.npmrc --tag ${nextRelease.channel} --registry https://npm.pkg.github.com/ --no-git-tag-version"
"verifyConditionsCmd": "echo //npm.pkg.github.com/:_authToken=${process.env.GITHUB_TOKEN} > /tmp/github.npmrc && npm whoami --userconfig /tmp/github.npmrc --registry https://npm.pkg.github.com/",
"publishCmd": "npm publish --userconfig /tmp/github.npmrc --tag ${nextRelease.channel} --registry https://npm.pkg.github.com/ --no-git-tag-version",
"successCmd": "rm /tmp/github.npmrc",
"failCmd": "rm /tmp/github.npmrc"
}
]
]
Expand Down

0 comments on commit df43151

Please sign in to comment.