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

Git tags are ignored for dependencies #58

Closed
Iristyle opened this issue Sep 15, 2012 · 2 comments
Closed

Git tags are ignored for dependencies #58

Iristyle opened this issue Sep 15, 2012 · 2 comments

Comments

@Iristyle
Copy link

I assumed that the Git urls are handled the same way as NPM (maybe that was my mistake) with respect to commit-ish and url dependencies.

For instance, assume I wanted 2.6.1 of modernizr

{
  "name": "ClientSide Dependencies",
  "version": "1.0.0",
  "main": "",
  "dependencies": {
    "modernizr" : "git+https://github.com/Modernizr/Modernizr.git#v2.6.1"
  }
}
.node_modules/.bin/bower install

Everything goes according to plan.. except when I look in my components folder, I actually end up with 2.6.2, the latest tag.

@fat
Copy link
Contributor

fat commented Sep 16, 2012

hm weird, looks like a bug.

bower install git://github.com/Modernizr/Modernizr.git#v2.6.1 works - but not the http way. I'll look into it.

@fat
Copy link
Contributor

fat commented Sep 16, 2012

this fixes it - i'll push a new version later today: 40d2c8e

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants