Compare commits
11 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| c0e691e6e9 | |||
| bf7fb4d0a4 | |||
| 572ea33edb | |||
| b0cab443bb | |||
| c572444603 | |||
| da4baa6f12 | |||
| 81c396dd80 | |||
| d12738e609 | |||
| 2187a6129f | |||
| 0e2dda20a3 | |||
| 39e42e894e |
+5
-16
@@ -6,30 +6,18 @@
|
||||
trigger:
|
||||
branches:
|
||||
include:
|
||||
- refs/tags/*
|
||||
- master
|
||||
- refs/tags/*
|
||||
|
||||
pool:
|
||||
vmImage: 'windows-latest'
|
||||
|
||||
|
||||
|
||||
variables:
|
||||
solution: '**/*.sln'
|
||||
buildPlatform: 'Any CPU'
|
||||
buildConfiguration: 'Release'
|
||||
|
||||
|
||||
steps:
|
||||
- powershell: |
|
||||
$tags = git tag --sort=-creatordate
|
||||
$tag = $tags[0]
|
||||
|
||||
#update build number
|
||||
- bash: |
|
||||
echo "##vso[build.updatebuildnumber]Release $(tag)"
|
||||
condition: eq(variables['release.enabled'], 'true')
|
||||
name: SetReleaseBuildName
|
||||
|
||||
- task: NuGetToolInstaller@1
|
||||
|
||||
- task: NuGetCommand@2
|
||||
@@ -59,6 +47,7 @@ steps:
|
||||
publishLocation: 'Container'
|
||||
|
||||
- powershell: |
|
||||
nuget push -ApiKey $env:APIKEY -Source https://api.nuget.org/v3/index.json $(Build.ArtifactStagingDirectory)/**/*.nupkg
|
||||
If ($env:BRANCH.StartsWith('refs/tags/')) { nuget push -ApiKey $env:APIKEY -Source https://api.nuget.org/v3/index.json $(Build.ArtifactStagingDirectory)/**/*.nupkg }
|
||||
env:
|
||||
APIKEY: $(nuget-apikey)
|
||||
APIKEY: $(nuget-apikey)
|
||||
BRANCH: $(Build.SourceBranch)
|
||||
@@ -505,7 +505,7 @@ namespace Xunit.Runner.Wpf.ViewModel
|
||||
var i = 0;
|
||||
while (i < this.allTestCases.Count)
|
||||
{
|
||||
if (string.Compare(this.allTestCases[i].AssemblyFileName, assemblyPath, StringComparison.OrdinalIgnoreCase) == 0)
|
||||
if (string.Compare(this.allTestCases[i].AssemblyPath, assemblyPath, StringComparison.OrdinalIgnoreCase) == 0)
|
||||
{
|
||||
this.allTestCaseUniqueIDs.Remove(this.allTestCases[i].UniqueID);
|
||||
this.allTestCases.RemoveAt(i);
|
||||
|
||||
@@ -16,7 +16,9 @@
|
||||
<PackageIcon></PackageIcon>
|
||||
<PackageIconUrl>https://avatars2.githubusercontent.com/u/2092016</PackageIconUrl>
|
||||
<PackageIconUrl>https://avatars2.githubusercontent.com/u/2092016</PackageIconUrl>
|
||||
<Version>1.0.5</Version>
|
||||
<Version>1.0.8</Version>
|
||||
<AssemblyVersion>1.0.8.0</AssemblyVersion>
|
||||
<FileVersion>1.0.8.0</FileVersion>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
||||
Reference in New Issue
Block a user