Skip to content

Monorepo-style tags break latest release detection #4

Description

@1ec5

The mapbox-gl-native repository uses a non-semver-compliant tag naming scheme that prepends a platform identifier to an otherwise semver-compliant version number, since the various libraries developed in that monorepo are versioned independently. This tool relies on the latest-semver package, which is unable to understand these version numbers on its own:

return `v${latestSemver(data.map(tag => tag.name))}`;

Fortunately, I think we can make the tool compatible with mapbox-gl-native by filtering tags by platform and stripping off the platform identifiers before calling latestSemver(). The tool would need a new command line option to specify a platform.

/cc @anandthakker

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions