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

Requires Tags and Releases with specific prefixes #259

Open
tlawrie opened this issue May 9, 2024 · 0 comments
Open

Requires Tags and Releases with specific prefixes #259

tlawrie opened this issue May 9, 2024 · 0 comments

Comments

@tlawrie
Copy link

tlawrie commented May 9, 2024

When forking and connecting to a new documentation github, the site won't run without tags and releases in the liked docs repo.

It will fail the invariant check on "latestVersion" in docs.$lang.$ref.$.tsx:78

Its also not clear from the documentation or .env.example as to what RELEASE_PACKAGE means. Essentially, from what I could figure out, it is the prefix in the tag i.e. [email protected] vs v0.0.1 and in fact tags / releases must either have the RELEASE_PACKAGE prefix or v.

Is there a way to

  • Get this documented (happy to contribute this, if there is a spot for it)
  • Remove the hardcoding of this logic (could be harder as there seem to be a lot of checks and splits on this business logic)
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

1 participant