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

[Question] Is there a way to create a GitHub release without publishing the package to registry? #745

Open
miszo opened this issue Feb 7, 2022 · 3 comments

Comments

@miszo
Copy link

miszo commented Feb 7, 2022

Problem

I have a monorepo powered by Turborepo and I wanted to automate applications deployment. I wanted to trigger docker build for the app whenever the GitHub release for the app is created (e.g., webapp@1.0.1). Not only that, but I want to avoid publishing anything to the NPM. Is there a way to do so and having a nice generated changelog at the same time?

I mean something similar to lerna publish, but you know – without lerna :)

@Andarist
Copy link
Member

Andarist commented Feb 7, 2022

I think this would require:

  1. marking your apps with private: true
  2. allowing private packages to be tagged
  3. allowing releases to include private packages

IIRC 2 is being implemented here and this is an obvious blocker for 3. 3 would also have to be configured at the Changesets Action level and not in Changesets themselves.

I think that overall this is a good thing to have - so if you could take a look at the linked PR, review it from your PoV and comment there then we could resume working on that PR and land it soon-ish. Then we could think about implementing the config part for the Changesets Action.

@ghost
Copy link

ghost commented Aug 31, 2022

I'm having this issue too.

@Trugamr
Copy link

Trugamr commented Oct 10, 2023

npx changeset tag can be used to generate git tags without publishing.

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

No branches or pull requests

3 participants