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

refactor: use human readable date for canary versions #223

Merged
merged 3 commits into from
Sep 19, 2024
Merged

Conversation

pi0
Copy link
Member

@pi0 pi0 commented Sep 19, 2024

Use more human-friendly dates in the canary version like 20240919-140954 instead of 1726746896 (4 more chars) but still sortable and safe with seconds precision.

Also using + instead of -.TIL, it is an npm convention for build-metadata. Example 1.0.0+build.1

@pi0 pi0 requested a review from danielroe September 19, 2024 12:02
@pi0 pi0 self-assigned this Sep 19, 2024
src/semver.ts Outdated Show resolved Hide resolved
@pi0 pi0 changed the title refactor: use human readable prefix for canary bumps refactor: use human readable date for canary versions Sep 19, 2024
@pi0 pi0 merged commit 9998f10 into main Sep 19, 2024
2 checks passed
@pi0 pi0 deleted the feat/canary-format branch September 19, 2024 12:13
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