Using this config:
grunt.initConfig({
gitcommit: {
'default': {
options: {
message: 'test',
cwd: '../../builds/'
},
files: [{
src: ['release.tar'],
expand: true,
cwd: '../../builds/',
}]
}
}
})
It fails to commit as the resulting action is to make the CWD = ../../builds/ as expected, but then tries to find the file as ../../builds/release.tar, which throws a fatal error in the git command due to files being used outside the working directory (of git).
Any ideas about how to get around this?
Using this config:
It fails to commit as the resulting action is to make the CWD =
../../builds/as expected, but then tries to find the file as../../builds/release.tar, which throws a fatal error in the git command due to files being used outside the working directory (of git).Any ideas about how to get around this?