GitTools / actions

GitHub Action that installs and uses the GitVersion and GitReleaseManager tools
MIT License
218 stars 63 forks source link

Add `gitversion/command` task/action, remove `additionalArguments` from `gitversion/execute` #1203

Closed arturcic closed 1 month ago

arturcic commented 1 month ago

Currently the gitversion/execute task/action is running internally GitVersion with output parsed as json.

In case there is a need to run GitVersion with some arguments that do not return a json output, just as /showconfig, /showvariable or /format the gitversion/execute task/action will fail. For this reason the additionalArguments was removed from the task/action.

In this PR I added a new gitversion/command task/action to allow to execute the GitVersion tool with additional arguments and the output is consumed but the user as is

mergify[bot] commented 1 month ago

Thank you @arturcic for your contribution!