diff --git a/.azure/ci.yml b/.azure/ci.yml index 3db288e..07fbb34 100644 --- a/.azure/ci.yml +++ b/.azure/ci.yml @@ -30,7 +30,8 @@ stages: inputs: useConfigFile: true configFilePath: 'GitVersion_v5.yml' - additionalArguments: '/overrideconfig update-build-number=false' + overrideConfig: | + update-build-number=false - pwsh: | echo "FullSemVer (fullSemVer) : $(fullSemVer)" @@ -66,7 +67,8 @@ stages: inputs: useConfigFile: true configFilePath: 'GitVersion_v6.yml' - additionalArguments: '/overrideconfig update-build-number=false' + overrideConfig: | + update-build-number=false - pwsh: | echo "FullSemVer (fullSemVer) : $(fullSemVer)" diff --git a/.azure/different-stage.yml b/.azure/different-stage.yml index ec617fa..959d50b 100644 --- a/.azure/different-stage.yml +++ b/.azure/different-stage.yml @@ -22,7 +22,8 @@ stages: inputs: useConfigFile: true configFilePath: 'GitVersion_v5.yml' - additionalArguments: '/overrideconfig update-build-number=false' + overrideConfig: | + update-build-number=false - stage: GitVersion_without_prefix condition: and(succeeded(), eq(dependencies.GitVersion_Stage.outputs['GitVersion_v5_Job.version_step.branchName'], 'main')) # use in condition diff --git a/.azure/same-job.yml b/.azure/same-job.yml index 80bb1a2..a7b0033 100644 --- a/.azure/same-job.yml +++ b/.azure/same-job.yml @@ -27,7 +27,8 @@ jobs: inputs: useConfigFile: true configFilePath: 'GitVersion_v5.yml' - additionalArguments: '/overrideconfig update-build-number=false' + overrideConfig: | + update-build-number=false - pwsh: | echo "Major (major) : $(major)" diff --git a/.azure/same-stage.yml b/.azure/same-stage.yml index 9863099..4bcaed5 100644 --- a/.azure/same-stage.yml +++ b/.azure/same-stage.yml @@ -22,7 +22,8 @@ stages: inputs: useConfigFile: true configFilePath: 'GitVersion_v5.yml' - additionalArguments: '/overrideconfig update-build-number=false' + overrideConfig: | + update-build-number=false - job: Use_GitVersion_v5_without_prefix dependsOn: diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0b14854..7b9399e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,7 +24,8 @@ jobs: with: useConfigFile: true configFilePath: 'GitVersion_v5.yml' - additionalArguments: '/overrideconfig update-build-number=false' + overrideConfig: | + update-build-number=false id: version_step # step id used as reference for output values - run: | echo "FullSemVer (env.fullSemVer) : ${{ env.fullSemVer }}" @@ -54,7 +55,8 @@ jobs: with: useConfigFile: true configFilePath: 'GitVersion_v6.yml' - additionalArguments: '/overrideconfig update-build-number=false' + overrideConfig: | + update-build-number=false id: version_step # step id used as reference for output values - run: | echo "FullSemVer (env.fullSemVer) : ${{ env.fullSemVer }}" diff --git a/.github/workflows/different-job.yml b/.github/workflows/different-job.yml index 8c58cb5..a9d3105 100644 --- a/.github/workflows/different-job.yml +++ b/.github/workflows/different-job.yml @@ -34,7 +34,8 @@ jobs: with: useConfigFile: true configFilePath: 'GitVersion_v5.yml' - additionalArguments: '/overrideconfig update-build-number=false' + overrideConfig: | + update-build-number=false id: version_step # step id used as reference for output values Use_GitVersion_v5_without_prefix: diff --git a/.github/workflows/same-job.yml b/.github/workflows/same-job.yml index 7e2d8c4..18562ba 100644 --- a/.github/workflows/same-job.yml +++ b/.github/workflows/same-job.yml @@ -24,7 +24,8 @@ jobs: with: useConfigFile: true configFilePath: 'GitVersion_v5.yml' - additionalArguments: '/overrideconfig update-build-number=false' + overrideConfig: | + update-build-number=false id: version_step # step id used as reference for output values - run: |