grunt-release
grunt-release copied to clipboard
how to push using package repository
My config is as such
release: {
options: {
bump: true, //default: true
// changelog: false, //default: false
// changelogText: '<%= version %>\n', //default: '### <%= version %> - <%= grunt.template.today("yyyy-mm-dd") %>\n'
file: 'package.json', //default: package.json
add: true, //default: true
commit: true, //default: true
tag: true, //default: true
push: true, //default: true
pushTags: false, //default: true
npm: true, //default: true
npmtag: false, //default: no tag
indentation: '\t', //default: ' ' (two spa
tagName: 'v<%= version %>', //default: '<%= version %>'
commitMessage: 'chore(package.json): Release v<%= version %>', //default: 'release <%= version %>'
beforeBump: [],
remote: 'origin' // optional grunt tasks to run after file versions are bumped
}
and I want to be able to push to my internal repository using the credentials of the user doing the grunt command so that it is a commit made by them rather than using some standard user. Grunt bump does it this way. Is there a way to achieve this with this package