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

Versioning scheme doesn't work well with npm #136

Open
s4y opened this issue Oct 18, 2014 · 2 comments
Open

Versioning scheme doesn't work well with npm #136

s4y opened this issue Oct 18, 2014 · 2 comments

Comments

@s4y
Copy link

s4y commented Oct 18, 2014

The current version is 1.8.0-a, which semver treats as a prerelease. This means that I can't add a dependency to my project like ~1.8. Would you consider dropping the -letter suffix from release versions?

@maxtaco
Copy link
Owner

maxtaco commented Oct 18, 2014

The system is set up like it is so I can issue several releases for each release Jeremy issues in the main CoffeeScript. Is there an alternate versioning system I could use to achieve this?

I guess I could do something like:

ICS v1008.0.0 -> CS1.8.0, ICS release 0
ICS v1008.0.1 -> CS1.8.0, ICS Release 1
ICS v1008.1.4 -> CS1.8.4, ICS release 4

It's a big ugly though

@s4y
Copy link
Author

s4y commented Oct 19, 2014

Oof, I didn't realize that. The only other option I can think of is to fork ICS's version from CS and use a + to add the CS version as "build metadata" (which semver ignores). Some examples:

  • v1.8.0+CS1.8.0 (start with the current version)
  • v1.8.1+CS1.8.0 (ICS bug fix, same CS)
  • v1.8.2+CS1.8.4 (merge CS bug fixes)
  • v1.9.0+CS1.8.4 (new ICS feature, same CS)
  • v1.10.0+CS1.9.0 (merge new CS feature)

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

No branches or pull requests

2 participants