Skip to content

Commit

Permalink
update nupkg script
Browse files Browse the repository at this point in the history
  • Loading branch information
fszlin committed Mar 29, 2017
1 parent 0ad25bd commit ed6ac1e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 4 additions & 4 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ branches:
- dev

assembly_info:
patch: true
file: AssemblyInfo.*
patch: false
# file: AssemblyInfo.*

init:
- git config --global core.autocrlf input
Expand All @@ -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
Expand All @@ -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
Expand Down
2 changes: 2 additions & 0 deletions src/Certes/Certes.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
<GenerateAssemblyCompanyAttribute>false</GenerateAssemblyCompanyAttribute>
<GenerateAssemblyProductAttribute>false</GenerateAssemblyProductAttribute>
<GenerateAssemblyVersionAttribute>false</GenerateAssemblyVersionAttribute>
<Authors>Eddie Lin</Authors>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit ed6ac1e

Please sign in to comment.