diff --git a/appveyor.yml b/appveyor.yml index 6d3f4218..50c9705c 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -17,8 +17,8 @@ branches: - dev assembly_info: - patch: true - file: AssemblyInfo.* + patch: false + # file: AssemblyInfo.* init: - git config --global core.autocrlf input @@ -33,7 +33,7 @@ before_build: - cmd: nuget restore Certes.sln build_script: - - msbuild ./src/Certes/Certes.csproj -t:pack -p:PackageVersion="%CERTES_PACKAGE_VERSION%" -p:OutputPath=%APPVEYOR_BUILD_FOLDER%/build/Certes/ + - msbuild ./src/Certes/Certes.csproj -p:PackageVersion="%CERTES_PACKAGE_VERSION%" - msbuild ./src/Certes.Cli/Certes.Cli.csproj -t:publish -p:PublishDir=%APPVEYOR_BUILD_FOLDER%/build/Certes.Cli/ - ps: '"dotnet %~dp0bin/Certes.Cli.dll %* " | Set-Content .\build\Certes.Cli\certes.bat' - 7z a build\certes-cli.zip .\build\Certes.Cli\*.* -r @@ -45,7 +45,7 @@ test_script: configuration: Release artifacts: - - path: build/Certes/Certes.$(CERTES_PACKAGE_VERSION).nupkg + - path: src/Certes/bin/$(CONFIGURATION)/Certes.$(CERTES_PACKAGE_VERSION).nupkg name: nupkg - path: build\certes-cli.zip diff --git a/src/Certes/Certes.csproj b/src/Certes/Certes.csproj index d3d7da36..42e7a1da 100644 --- a/src/Certes/Certes.csproj +++ b/src/Certes/Certes.csproj @@ -17,6 +17,8 @@ false false false + Eddie Lin + True