Skip to content
This repository was archived by the owner on Dec 8, 2022. It is now read-only.

Commit 2b824d9

Browse files
committed
yml
1 parent d578072 commit 2b824d9

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

appveyor.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
version: 0.0.{build}
2-
skip_non_tags: true
1+
version: 1.0.{build}
32
image: Visual Studio 2017
43
configuration: Release
54
platform: Any CPU
@@ -14,7 +13,7 @@ before_build:
1413
build:
1514
verbosity: minimal
1615
before_package:
17-
- ps: "$version =\n[System.Reflection.Assembly]::LoadFile(\"$env:APPVEYOR_BUILD_FOLDER\\Unickq.SpecFlow.Selenium.Plugin\\bin\\Release\\Unickq.SpecFlow.Selenium.SpecFlowPlugin.dll\").GetName().Version\n$versionStr = \"$env:APPVEYOR_REPO_TAG_NAME"\n\n$content = (Get-Content $env:APPVEYOR_BUILD_FOLDER\\nuget.nuspec) \n$content = $content -replace '\\$version\\$',$versionStr\n\n$content | Out-File $env:APPVEYOR_BUILD_FOLDER\\nuget.compiled.nuspec"
16+
- ps: "$version =\n[System.Reflection.Assembly]::LoadFile(\"$env:APPVEYOR_BUILD_FOLDER\\Unickq.SpecFlow.Selenium.Plugin\\bin\\Release\\Unickq.SpecFlow.Selenium.SpecFlowPlugin.dll\").GetName().Version\n$versionStr = \"{0}.{1}.0-alfa{2}\" -f ($version.Major, $version.Minor, $version.Build)\n\n$content = (Get-Content $env:APPVEYOR_BUILD_FOLDER\\nuget.nuspec) \n$content = $content -replace '\\$version\\$',$versionStr\n\n$content | Out-File $env:APPVEYOR_BUILD_FOLDER\\nuget.compiled.nuspec"
1817
test:
1918
assemblies:
2019
only:

0 commit comments

Comments
 (0)