Skip to content

Commit

Permalink
Added grunt release task
Browse files Browse the repository at this point in the history
  • Loading branch information
bago committed Feb 28, 2018
1 parent 56df38c commit 6ae1e1d
Show file tree
Hide file tree
Showing 3 changed files with 151 additions and 1 deletion.
15 changes: 14 additions & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,20 @@ module.exports = function(grunt) {
{ src: ['dist/**', 'templates/versafix-1/**', '*.html', 'README.md', 'NOTICE.txt', 'LICENSE', 'favicon.ico'], dest: '/' },
]
}
}
},

release: {
options: {
tagName: 'v<%= version %>',
// the release 0.14.0 plugin is buggy and they are all done BEFORE the tagging, so we stick to 0.13.1 until a new proper release is done.
beforeRelease: ['clean', 'build'],
afterRelease: ['compress'],
github: {
repo: 'voidlabs/mosaico',
accessTokenVar: 'GITHUB_ACCESS_TOKEN',
}
},
},

});

Expand Down
136 changes: 136 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@
"grunt-newer": "^1.2.0",
"grunt-parallel": "0.5.1",
"grunt-postcss": "0.9.0",
"grunt-release": "0.13.1",
"jasmine-core": "3.0.0",
"jquery-file-upload-middleware": "0.1.8",
"jshint-stylish": "2.2.1",
Expand Down

0 comments on commit 6ae1e1d

Please sign in to comment.