Requires Tags and Releases with specific prefixes
tlawrie opened this issue · comments
Tyson Lawrie commented
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. remix@0.0.1
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)