Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

semantic release v20 support #176

Open
sebbo2002 opened this issue Jan 18, 2023 · 2 comments · May be fixed by #235
Open

semantic release v20 support #176

sebbo2002 opened this issue Jan 18, 2023 · 2 comments · May be fixed by #235

Comments

@sebbo2002
Copy link

Since about two weeks semantic-release v20 is the current version. Is there already support planned for this new version? If so, is there anything I can help you with? In the package.json only 19.x is explicitly specified as peer a dependency.

@thesuavehog
Copy link

I, also, would appreciate the bump to semantic-release@20

@jhnns
Copy link

jhnns commented Nov 10, 2024

In the meantime, you can use @semantic-release/exec to cross-publish your package to a different registry. This is my config for the Github registry:

[
  "@semantic-release/exec",
  {
    "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"
  }
]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants