Skip to content

Commit

Permalink
Temporary grunt tasks fix
Browse files Browse the repository at this point in the history
  • Loading branch information
capuderg committed Dec 21, 2022
1 parent b9b25ad commit d97dba7
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module.exports = function (grunt) {
pkg: grunt.file.readJSON('package.json'),
shell: {
composer: {
command: './composer.phar install --no-dev --no-scripts --prefer-dist'
command: 'composer install --no-dev --no-scripts --prefer-dist'
},
git_checkout: {
command: 'git checkout-index -a -f --prefix=build/'
Expand Down Expand Up @@ -129,22 +129,22 @@ module.exports = function (grunt) {
]
}
},
'github-release': {
options: {
repository: 'kgjerstad/wp-mail-logging', // Path to repository
auth: grunt.file.readJSON('credentials.json'),
release: {
tag_name: 'release/<%= pkg.version %>',
name: 'v<%= pkg.version %>',
body: 'Description of the release',
draft: true,
prerelease: true
}
},
files: {
src: ['releases/<%= pkg.name %>-<%= pkg.version %>.zip']
}
},
// 'github-release': {
// options: {
// repository: 'kgjerstad/wp-mail-logging', // Path to repository
// auth: grunt.file.readJSON('credentials.json'),
// release: {
// tag_name: 'release/<%= pkg.version %>',
// name: 'v<%= pkg.version %>',
// body: 'Description of the release',
// draft: true,
// prerelease: true
// }
// },
// files: {
// src: ['releases/<%= pkg.name %>-<%= pkg.version %>.zip']
// }
// },
less: {
compile: {
options: {
Expand Down

0 comments on commit d97dba7

Please sign in to comment.