Skip to content

Commit 13d93f4

Browse files
committed
fix(Build): Allow Angular 1.3.x upper constraint
Had incorrect semver syntax for Bower ('>=1.2.16 <=1.3.x') which worked for semver but not BOWER'S semver, which is different. This updated syntax is correct. Thanks to @jgilchrist for walking me through it. Closes #4064
1 parent d48fc96 commit 13d93f4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/grunt/plugins.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ module.exports = function(grunt) {
280280

281281
// Create the bower.json file
282282
grunt.registerTask('update-bower-json', function () {
283-
var currentTag = semver.clean( util.getCurrentTag() );
283+
var currentTag = semver.clean( util.getVersion() );
284284

285285
var taggedReleaseDir = path.join(path.resolve(process.cwd()), 'dist', 'release', currentTag);
286286

@@ -308,7 +308,7 @@ module.exports = function(grunt) {
308308
'main': releaseFiles,
309309
'ignore': [],
310310
'dependencies': {
311-
'angular': '>=1.2.16 <=1.3.16' // Note: bower will install 1.2.28 when <=1.3.x is specified...
311+
'angular': '>=1.2.16 1.3.x'
312312
},
313313
'repository': pkg.repository,
314314
'homepage': 'http://ui-grid.info',

0 commit comments

Comments
 (0)