mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-24 22:26:10 +03:00
Fixed git-describe grunt task
This commit is contained in:
parent
2bc61933b2
commit
f0c4f5a875
@ -66,7 +66,7 @@ module.exports = function(grunt) {
|
|||||||
options: {
|
options: {
|
||||||
banner: "//! <%= pkg.name %> <%= pkg.version %>\n"
|
banner: "//! <%= pkg.name %> <%= pkg.version %>\n"
|
||||||
+ "//! Built on <%= grunt.template.today('yyyy-mm-dd') %>\n"
|
+ "//! Built on <%= grunt.template.today('yyyy-mm-dd') %>\n"
|
||||||
+ "//! <%= grunt.config.get('describeResult') %>\n"
|
+ "//! Git commit: <%= gitInfo %>\n"
|
||||||
+ "//! http://openseadragon.github.com\n\n",
|
+ "//! http://openseadragon.github.com\n\n",
|
||||||
process: true
|
process: true
|
||||||
},
|
},
|
||||||
@ -135,7 +135,10 @@ module.exports = function(grunt) {
|
|||||||
},
|
},
|
||||||
"git-describe": {
|
"git-describe": {
|
||||||
options: {
|
options: {
|
||||||
prop: "describeResult"
|
prop: "gitInfo"
|
||||||
|
},
|
||||||
|
build: {
|
||||||
|
// Nothing here; we just need it in order to trigger this task
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user