Skip to content

Add version tags - #3

Merged
jesusholoo merged 1 commit into
masterfrom
dapplion/version-tags
May 20, 2022
Merged

Add version tags#3
jesusholoo merged 1 commit into
masterfrom
dapplion/version-tags

Conversation

@dapplion

Copy link
Copy Markdown
Contributor

Since versions are arbitrary string there must be a way to figure out what's the "latest" version. In current master that's done with versionSorting, which indicates how to list the versions and pick the last of this list as latest.

A cleaner and more versatile approach is to use tags, which is what NPM uses.

This PR adds a simple map of tag -> version, which can be used with a standard name "latest" for the above purpose.

@dapplion
dapplion requested a review from jesusholoo May 20, 2022 09:21

@jesusholoo jesusholoo left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice ^^

@jesusholoo jesusholoo left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice ^^

@jesusholoo
jesusholoo merged commit dde4ba0 into master May 20, 2022
@dapplion
dapplion deleted the dapplion/version-tags branch May 26, 2022 02:41
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

Successfully merging this pull request may close these issues.

2 participants