Installed bower dependencies not on latest commit -


i have git project contains bower.json file contains several dependencies. looks this:

//module1 "dependencies": {     "devbridge-autocomplete": "devbridge/jquery-autocomplete#~1.2.21",     "backbone": "~1.2.1",     "underscore": "~1.8.3",     "jquery": "~2.1.4",     "module2": "gituser/module2",     "module3": "gituser/module3"   } 

problem when run bower install --save gituser/module1 bower not pull latest commits github, , pulls initial commit.

bower.json of module2 , 3 similar:

{   "name": "module2",   "main": "module2.js",   "version": "0.0.0",   "authors": [     "gituser <gituser@gituser.com>"   ],   "moduletype": [     "amd"   ],   "license": "mit",   "ignore": [     "**/.*",     "node_modules",     "bower_components",     "directory/bower_components",     "test",     "tests"   ] } 

the cloned repositories hidden .bower.json looks like:

{   "name": "module2",   "_cacheheaders": {     "content-type": "text/html; charset=utf-8"   },   "main": "index",   "_source": "https://github.com/gituser/module2",   "_target": "*",   "_originalsource": "https://github.com/gituser/module2" } 

i have unsuccessfully tried installing dependencies in module1 by:

bower install --save gituser/module2#latest 

i have tried adding git tags each sub module, did not work. saw this issue, tagging should not matter.

any assistance appreciated!

if want latest commit specific branch:

bower install --save gituser/module2#specific_branch_name 

if want specific commit:

bower install --save gituser/module2#specific_commit_id 

Comments