Clean up artifacts after build
This commit is contained in:
parent
e9e4098706
commit
de6ed8fa22
2 changed files with 15 additions and 8 deletions
|
@ -8,7 +8,7 @@
|
|||
<ProjectGuid>{B4A73545-0177-4159-8602-648AA3058650}</ProjectGuid>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<RootNamespace>ACSE.WinForms</RootNamespace>
|
||||
<AssemblyName>ACSE.WinForms</AssemblyName>
|
||||
<AssemblyName>ACSE</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.7</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
||||
|
@ -5644,4 +5644,9 @@
|
|||
<Error Condition="!Exists('..\packages\Fody.3.2.16\build\Fody.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Fody.3.2.16\build\Fody.targets'))" />
|
||||
</Target>
|
||||
<Import Project="..\packages\Fody.3.2.16\build\Fody.targets" Condition="Exists('..\packages\Fody.3.2.16\build\Fody.targets')" />
|
||||
<PropertyGroup>
|
||||
<PostBuildEvent>del $(TargetDir)Newtonsoft.Json.xml
|
||||
del $(TargetDir)$(TargetName).pdb
|
||||
del $(TargetDir)$(TargetName).exe.config</PostBuildEvent>
|
||||
</PropertyGroup>
|
||||
</Project>
|
16
appveyor.yml
16
appveyor.yml
|
@ -1,4 +1,4 @@
|
|||
version: 1.0.{build}
|
||||
version: 0.4.1.{build}
|
||||
image: Visual Studio 2017
|
||||
configuration: Release
|
||||
platform: Any CPU
|
||||
|
@ -11,17 +11,19 @@ build:
|
|||
|
||||
after_build:
|
||||
- cmd: 7z a -tzip "ACSE.WinForms/bin/Release/ACSE.zip" "ACSE.WinForms/bin/Release/*"
|
||||
- remove_files:
|
||||
|
||||
artifacts:
|
||||
- path: ACSE.WinForms/bin/Release/ACSE.zip
|
||||
name: DevBuild
|
||||
|
||||
deploy:
|
||||
provider: GitHub
|
||||
- provider: GitHub
|
||||
name: Development Release {build}
|
||||
auth_token:
|
||||
secure: GL5JqofZHzmr6ztb9df5FKEPSJmvzPrH2saGy+leFyeIrc8C7qkJmbQZ7PpH2NOl
|
||||
artifact: ACSE.WinForms/bin/Release/*
|
||||
draft: false
|
||||
prerelease: true
|
||||
on:
|
||||
appveyor_repo_tag: true
|
||||
artifact: ACSE.WinForms/bin/Release/*
|
||||
draft: false
|
||||
prerelease: true
|
||||
on:
|
||||
APPVEYOR_REPO_TAG: true
|
Loading…
Reference in a new issue