Maybe i'm the only one, but i only want to tag my major and minors. The way it is setup now i can use things like 'push-only and push-commit' and make other task in your setup push-tag but then i thought if the options setup can be changed it works even better. Is that an idea?
push { // basic default options
options {
'type': 'minor' // patch, minor, major
'files': ['package.json'], // default setup which runs on 'push'
etc...
}
'minor': {
options { 'type': 'minor', 'commit: false' } // options to overrule
}
'tag': { options { 'createTag': true } } // options to overrule
}
now i will be able to do { 'push:minor', 'something-in-build-proces', 'push:commit', 'push:tag', 'push:push' } and snapshots like { 'push', 'something-in-build-proces', 'push:commit' } or any other usecase in the task or as subtask.
Maybe i'm the only one, but i only want to tag my major and minors. The way it is setup now i can use things like 'push-only and push-commit' and make other task in your setup push-tag but then i thought if the options setup can be changed it works even better. Is that an idea? push { // basic default options options { 'type': 'minor' // patch, minor, major 'files': ['package.json'], // default setup which runs on 'push' etc... } 'minor': { options { 'type': 'minor', 'commit: false' } // options to overrule } 'tag': { options { 'createTag': true } } // options to overrule }
now i will be able to do { 'push:minor', 'something-in-build-proces', 'push:commit', 'push:tag', 'push:push' } and snapshots like { 'push', 'something-in-build-proces', 'push:commit' } or any other usecase in the task or as subtask.
Is that nice to have?