You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
984 B

  1. 'use strict';
  2. module.exports = function (grunt, options) {
  3. return {
  4. options: {
  5. files: ['package.json', 'bower.json'],
  6. updateConfigs: [],
  7. commit: true,
  8. commitMessage: 'Release v%VERSION%',
  9. commitFiles: [
  10. 'CHANGELOG.md',
  11. 'package.json',
  12. 'bower.json',
  13. 'dist/<%= pkg.name %>.js',
  14. 'dist/<%= pkg.name %>.min.js',
  15. 'dist/<%= pkg.name %>.min.no-header.js',
  16. 'dist/<%= pkg.name %>.js',
  17. 'dist/<%= pkg.name %>_dev_mapped.js',
  18. 'dist/<%= pkg.name %>_dev_mapped.js.map',
  19. 'dist/architecture/**/*'
  20. ],
  21. createTag: true,
  22. tagName: 'v%VERSION%',
  23. tagMessage: 'Version %VERSION%',
  24. push: false,
  25. pushTo: 'origin',
  26. gitDescribeOptions: '--tags --always --abbrev=1 --dirty=-d'
  27. }
  28. };
  29. };