We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2afe1f1 commit f61c86cCopy full SHA for f61c86c
Gruntfile.js
@@ -375,7 +375,8 @@ module.exports = function (grunt) {
375
dir: 'dist',
376
commit: true,
377
push: true,
378
- message: 'Built %sourceName% from commit %sourceCommit% on branch %sourceBranch%'
+ // message: 'Built %sourceName% from commit %sourceCommit% on branch %sourceBranch%'
379
+ message: grunt.option( "mymessage" )
380
},
381
pages: {
382
options: {
deployIt.sh
@@ -1,6 +1,6 @@
1
#!/bin/bash
2
COMMIT_MESSAGE="$(git log --oneline -1 | cut -d " " -f2-)"
3
grunt build
4
-git add dist && git commit -m "Distribution: $COMMIT_MESSAGE"
+git add -A dist && git commit -m "Distribution: $COMMIT_MESSAGE"
5
git push origin master
6
-grunt buildcontrol:pages
+grunt buildcontrol:pages --mymessage="$COMMIT_MESSAGE"
0 commit comments