Skip to content

Commit 1eef53a

Browse files
committed
ci: fix Gruntfile for release
1 parent 12f9ee6 commit 1eef53a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Gruntfile.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ module.exports = function(grunt) {
314314
// Replace text to update the version string
315315
replace: {
316316
version: {
317-
src: ['bower.json', 'package.js', 'pug/**/*.html', 'pug/_navbar.pug', 'src/global.ts'],
317+
src: ['bower.json', 'package.js', 'pug/**/*.html', 'pug/includes/_navbar.pug', 'src/global.ts'],
318318
overwrite: true,
319319
replacements: [
320320
{
@@ -434,6 +434,7 @@ module.exports = function(grunt) {
434434

435435
// define the tasks
436436
grunt.registerTask('release', [
437+
'replace:version',
437438
'sass:expanded',
438439
'sass:min',
439440
'postcss:expanded',
@@ -445,7 +446,6 @@ module.exports = function(grunt) {
445446
'compress:src',
446447
'compress:starter_template',
447448
'compress:parallax_template',
448-
'replace:version',
449449
'replace:package_json',
450450
'rename:rename_src',
451451
'rename:rename_compiled',

0 commit comments

Comments
 (0)