Skip to content

Commit d53a92b

Browse files
committed
ci: make gruntfile work
1 parent 1eef53a commit d53a92b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Gruntfile.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -415,8 +415,7 @@ module.exports = function(grunt) {
415415

416416
grunt.initConfig(config);
417417

418-
// load the tasks
419-
// grunt.loadNpmTasks('grunt-gitinfo');
418+
// load tasks
420419
grunt.loadNpmTasks('grunt-contrib-watch');
421420
grunt.loadNpmTasks('grunt-sass');
422421
grunt.loadNpmTasks('grunt-contrib-compress');
@@ -432,9 +431,9 @@ module.exports = function(grunt) {
432431
grunt.loadNpmTasks('grunt-contrib-connect');
433432
grunt.loadNpmTasks('grunt-contrib-copy');
434433

435-
// define the tasks
434+
// define tasks
436435
grunt.registerTask('release', [
437-
'replace:version',
436+
'replace:version', // before webpack
438437
'sass:expanded',
439438
'sass:min',
440439
'postcss:expanded',
@@ -446,10 +445,11 @@ module.exports = function(grunt) {
446445
'compress:src',
447446
'compress:starter_template',
448447
'compress:parallax_template',
448+
'replace:version', // again because of cdn
449449
'replace:package_json',
450450
'rename:rename_src',
451451
'rename:rename_compiled',
452-
]);
452+
]);
453453
grunt.registerTask('pug_compile', ['pug']);
454454
grunt.registerTask('js_compile', ['webpack:dev', 'copy:docs_js']);
455455
grunt.registerTask('sass_compile', ['sass:gh', 'sass:bin', 'postcss:gh', 'postcss:bin']);

0 commit comments

Comments
 (0)