From ad9d0b99e988910b5ea799eef0c3bcbcf4a8df3d Mon Sep 17 00:00:00 2001 From: nullforce Date: Mon, 21 Dec 2020 23:54:30 -0600 Subject: [PATCH] CI: Pad nuget versions --- GitVersion.yml | 3 +++ azure-pipelines.yml | 43 ------------------------------------------- 2 files changed, 3 insertions(+), 43 deletions(-) delete mode 100644 azure-pipelines.yml diff --git a/GitVersion.yml b/GitVersion.yml index 2210324..cde68ac 100644 --- a/GitVersion.yml +++ b/GitVersion.yml @@ -1 +1,4 @@ mode: ContinuousDeployment +legacy-semver-padding: 4 +build-metadata-padding: 4 +commits-since-version-source-padding: 4 diff --git a/azure-pipelines.yml b/azure-pipelines.yml deleted file mode 100644 index 73d6119..0000000 --- a/azure-pipelines.yml +++ /dev/null @@ -1,43 +0,0 @@ -# Starter pipeline -# Start with a minimal pipeline that you can customize to build and deploy your code. -# Add steps that build, run tests, deploy, and more: -# https://aka.ms/yaml - -trigger: -- master - -pool: - vmImage: 'Ubuntu-16.04' - -variables: -- group: Default - -steps: -- task: Bash@3 - inputs: - filePath: './build.sh' - arguments: '--target Test' - displayName: 'Run the Test target' - continueOnError: false - -- task: PublishTestResults@2 - inputs: - testResultsFormat: 'VSTest' - testResultsFiles: 'output/**/*.trx' - failTaskOnFailedTests: true - -- task: CopyFiles@2 - inputs: - SourceFolder: 'output' - Contents: '*.nupkg' - TargetFolder: '$(Build.ArtifactStagingDirectory)' - -- task: PublishBuildArtifacts@1 - inputs: - ArtifactName: 'NuGet Package' - -- task: Bash@3 - inputs: - filePath: './build.sh' - arguments: '--target Publish --nuget-api-key $(NUGETAPIKEY)' - displayName: 'Run the Publish target'