You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, proto doesn't currently provide granularity in the tokens to format this. The closest we can currently get is using {version}, which only allows us to create an invalid link as follows:
Adding additional version tokens allows the download-link to be composed more granularly. With {versionMinor} and {versionPatch}, this could be composed as follows:
The {versionMajorMinor} and {versionYearMonth} tokens can also be deprecated at this stage, as if the user needs these, they can build these manually i.e. {versionMajor}.{versionMonth}.
Pull requests
This requires changes (in the following order) to the moonrepo/plugins, moonrepo/proto, and moonrepo/moon repositories to update the schema_tool, version of schema_tool used by proto, and the website.
PRs are incoming, and will be linked to this issue shortly for tracking. 😄
The text was updated successfully, but these errors were encountered:
Issue
Follow on from #710.
This relates only to TOML, JSON, and YAML plugins.
Some tools have non-standard versioning. For example, the
backend-convex
package releases daily builds tagged in the format:This can be resolved using the
resolve.version-pattern
:Which then allows the user to pin the version in their
.prototools
file as if it weresemver
:Note that calver isn't used here, due to the limitations discussed in #710 i.e. if
pre
starts with a number then calver can't validate the versionAll of this works fine, until the
download-url
is composed. This must be in the format:However,
proto
doesn't currently provide granularity in the tokens to format this. The closest we can currently get is using{version}
, which only allows us to create an invalid link as follows:Solution
Adding additional version tokens allows the
download-link
to be composed more granularly. With{versionMinor}
and{versionPatch}
, this could be composed as follows:The
{versionMajorMinor}
and{versionYearMonth}
tokens can also be deprecated at this stage, as if the user needs these, they can build these manually i.e.{versionMajor}.{versionMonth}
.Pull requests
This requires changes (in the following order) to the moonrepo/plugins, moonrepo/proto, and moonrepo/moon repositories to update the
schema_tool
, version ofschema_tool
used byproto
, and the website.PRs are incoming, and will be linked to this issue shortly for tracking. 😄
The text was updated successfully, but these errors were encountered: