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

Bower 1.1.2 fails to install specific branch #771

Closed
albv opened this issue Aug 13, 2013 · 5 comments
Closed

Bower 1.1.2 fails to install specific branch #771

albv opened this issue Aug 13, 2013 · 5 comments
Labels
Milestone

Comments

@albv
Copy link

albv commented Aug 13, 2013

How to repeat:
bower install sass-bootstrap#3.0.0-wip
gives
bower ENORESTARGET No tag found that was able to satisfy 3.0.0-wip

However
bower install sass-bootstrap#master
or
bower install sass-bootstrap#gh-pages
works just fine.

@sindresorhus
Copy link
Contributor

sass-bootstrop doesn't have a tag with that name: https://github.com/jlong/sass-twitter-bootstrap/releases

@satazor
Copy link
Member

satazor commented Aug 13, 2013

Oh, this fails because bower thinks that 0.3.0-wip is a tag and not a branch. @sindresorhus he's right.

@satazor satazor reopened this Aug 13, 2013
@shoomyth
Copy link

Can I ask here?

In my bower.json I have:

"bootstrap":            "git://github.com/twbs/bootstrap.git#~3.0.0"

Installs RC1, but in releases the latest tag is v3.0.0-rc.2.
Is this expected behavior?

@satazor
Copy link
Member

satazor commented Aug 14, 2013

@shoomyth they made a typo in the tag. They released first one as rc1 and second one as rc.2. According to semver rc1 is greater then rc.2.

@shoomyth
Copy link

@satazor oh, it's not good :) thanks!

satazor added a commit that referenced this issue Aug 15, 2013
Match against a branch even if it's a semver version/range that does not exist, fixes #771.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

4 participants