How to install latest (untagged) state of a repo using bower?

后端 未结 6 721
你的背包
你的背包 2020-11-29 15:35

I have a very small repo in which I do all dev work in the master branch and use tags as \"stable\" points in history.

I guess by default Bower seems to fet

6条回答
  •  北荒
    北荒 (楼主)
    2020-11-29 16:18

    If you are using a bower.json file you specify the latest version of a branch with a line in either the dependencies or devDependencies as appropriate for your project configuration:

    "angular-bootstrap": "git@github.com:angular-ui/bootstrap.git#bootstrap3",
    

    Then when you run bower install the latest version of that branch is installed. That would be branch bootstrap3 of angular-ui in this example.

提交回复
热议问题