Skip to content

Commit 1c58c6c

Browse files
committed
Release 1.1.13
1 parent b963fdf commit 1c58c6c

File tree

5 files changed

+26
-6
lines changed

5 files changed

+26
-6
lines changed

Gruntfile.coffee

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,26 @@ module.exports = (grunt) ->
1414
grunt.loadNpmTasks "grunt-contrib-coffee"
1515
grunt.loadNpmTasks "grunt-contrib-jasmine"
1616
grunt.loadNpmTasks "grunt-conventional-changelog"
17+
grunt.loadNpmTasks "grunt-bump"
1718

1819
options =
1920
# Project configuration.
21+
bump:
22+
options:
23+
files: ['package.json','bower.json']
24+
updateConfigs: []
25+
commit: true
26+
commitMessage: "Release %VERSION%"
27+
commitFiles: ['package.json','bower.json','Gruntfile.coffee','dist/*']
28+
createTag: true
29+
tagName: "%VERSION%"
30+
tagMessage: "Version %VERSION%"
31+
push: false
32+
pushTo: "origin"
33+
gitDescribeOptions: "--tags --always --abbrev=1 --dirty=-d"
2034
pkg: grunt.file.readJSON("package.json")
35+
pkgFn: ->
36+
grunt.file.readJSON("package.json") #always get latest!
2137
clean:
2238
coffee: ["tmp/output_coffee.js", "tmp"]
2339
dist: ["dist/*", "tmp"]
@@ -69,7 +85,7 @@ module.exports = (grunt) ->
6985

7086
concat:
7187
options:
72-
banner: "/*! <%= pkg.name %> <%= pkg.version %> <%= grunt.template.today(\"yyyy-mm-dd\") %>\n * <%= pkg.description %>\n * <%= pkg.repository.type %>: <%= pkg.repository.url %>\n */\n"
88+
banner: "/*! <%= pkg.name %> <%= pkgFn().version %> <%= grunt.template.today(\"yyyy-mm-dd\") %>\n * <%= pkg.description %>\n * <%= pkg.repository.type %>: <%= pkg.repository.url %>\n */\n"
7389
separator: ";"
7490

7591
dist:
@@ -89,7 +105,7 @@ module.exports = (grunt) ->
89105

90106
uglify:
91107
options:
92-
banner: "/*! <%= pkg.name %> <%= pkg.version %> <%= grunt.template.today(\"yyyy-mm-dd\") %>\n * <%= pkg.description %>\n * <%= pkg.repository.type %>: <%= pkg.repository.url %>\n */\n"
108+
banner: "/*! <%= pkg.name %> <%= pkgFn().version %> <%= grunt.template.today(\"yyyy-mm-dd\") %>\n * <%= pkg.description %>\n * <%= pkg.repository.type %>: <%= pkg.repository.url %>\n */\n"
93109
compress: true
94110
report: "gzip"
95111

@@ -181,3 +197,7 @@ module.exports = (grunt) ->
181197
grunt.registerTask "twomaps", ["clean:example", "connect:server", "open:twomaps", "watch:all"]
182198
grunt.registerTask "geojson", ["clean:example", "connect:server", "open:geojson", "watch:all"]
183199
grunt.registerTask "hugedata", ["clean:example", "connect:server", "open:hugedata", "watch:all"]
200+
201+
grunt.registerTask 'bump-@', ['bump-only','default','bump-commit']
202+
grunt.registerTask 'bump-@-minor', ['bump-only:minor','default','bump-commit']
203+
grunt.registerTask 'bump-@-major', ['bump-only:major','default','bump-commit']

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-google-maps",
3-
"version": "1.1.12",
3+
"version": "1.1.13",
44
"main": "./dist/angular-google-maps.js",
55
"dependencies": {
66
"angular": "1.2.x",

dist/angular-google-maps.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! angular-google-maps 1.1.11 2014-07-28
1+
/*! angular-google-maps 1.1.13 2014-07-29
22
* AngularJS directives for Google Maps
33
* git: https://github.com/nlaplante/angular-google-maps.git
44
*/

dist/angular-google-maps.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-google-maps",
3-
"version": "1.1.12",
3+
"version": "1.1.13",
44
"description": "AngularJS directives for Google Maps",
55
"repository": {
66
"type": "git",

0 commit comments

Comments
 (0)