Closed binarykitchen closed 8 years ago
First of all you need to extract the new version number. To do this a through2-stream should help. The stream should flush
with an object (e.g. { version: 'XY' }
).
Now, the command should be able to parse something like <%= version %>
.
thx but i am afraid your response came in too late and already figured out something else
Look at this example where I am incrementing the version and use the new version number in the
git flow release start
command:That is not working of course because
git flow release start
requires a version number. Just am trying to explain my issue. How can I make the stream contents in.pipe(plugins.bump({type: importance}))
be amended togit flow release start
? So that it becomesgit flow release start 1.3.19