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

Please create a "latest" branch pointing to latest tag #1898

Closed
rzr opened this issue Aug 21, 2018 · 8 comments
Closed

Please create a "latest" branch pointing to latest tag #1898

rzr opened this issue Aug 21, 2018 · 8 comments
Labels
feature requests I want a new feature in nvm! installing nvm Problems installing nvm itself

Comments

@rzr
Copy link

rzr commented Aug 21, 2018

Then user will be able to install latest (and upcoming) release by using this fixed URL:

https://raw.githubusercontent.com/creationix/nvm/latest/install.sh

@ljharb
Copy link
Member

ljharb commented Aug 21, 2018

I’ve very intentionally not done that; it’s important that users be forced to select an exact version to install.

Duplicate of #1017; related to #400.

@ljharb ljharb closed this as completed Aug 21, 2018
@ljharb ljharb added feature requests I want a new feature in nvm! installing nvm Problems installing nvm itself labels Aug 21, 2018
@rzr
Copy link
Author

rzr commented Aug 21, 2018

OK, So I'll probably hack a script to fetch latest tag...

@ljharb
Copy link
Member

ljharb commented Aug 21, 2018

You’re free to do that, but that’s a very bad idea since you’ll get breaking changes without knowing it - it’d be equivalent to adding “*” in your package.json.

@GuimDev
Copy link

GuimDev commented Aug 28, 2018

@rzr #561

@rzr
Copy link
Author

rzr commented Aug 28, 2018

Thanks!, for the record master branch is usable without dirty hacks.

@GuimDev
Copy link

GuimDev commented Aug 28, 2018

but master isn't release version is dev version.

@ljharb
Copy link
Member

ljharb commented Aug 28, 2018

@rzr i break master all the time, and in the past have done it on purpose so that i can give an earlier warning to people to are incorrectly relying on it. master is unstable - only use a tagged release version.

@rzr
Copy link
Author

rzr commented Aug 28, 2018

Yea I suspected that master can't be trusted,
so maybe I will use my forked branch:

https://github.com/TizenTeam/nvm/tree/latest/master

I will have to update manually or if anyone request it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature requests I want a new feature in nvm! installing nvm Problems installing nvm itself
Projects
None yet
Development

No branches or pull requests

3 participants