Browse Source

Continued tweaking AppVeyor deploy options

pull/46/head
Anairkoen Schno 5 years ago
parent
commit
a0d3986805
4 changed files with 20 additions and 7 deletions
  1. +5
    -0
      BSIPA.sln
  2. +2
    -2
      IPA.Injector/Properties/AssemblyInfo.cs
  3. +2
    -2
      IPA/Properties/AssemblyInfo.cs
  4. +11
    -3
      appveyor.yml

+ 5
- 0
BSIPA.sln View File

@ -33,6 +33,11 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Tools", "Tools", "{C79C2C3A
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CollectDependencies", "CollectDependencies\CollectDependencies.csproj", "{5F33B310-DC8D-4C0D-877E-BAC3908DE10F}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{4D6639A2-BD39-4F9B-AF7F-8E5F3B88243D}"
ProjectSection(SolutionItems) = preProject
appveyor.yml = appveyor.yml
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU


+ 2
- 2
IPA.Injector/Properties/AssemblyInfo.cs View File

@ -35,5 +35,5 @@ using System.Runtime.InteropServices;
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("3.11.1")]
[assembly: AssemblyFileVersion("3.11.1")]
[assembly: AssemblyVersion("3.11.1")] // will be patched by AppVeyor
[assembly: AssemblyFileVersion("3.11.1")] // will be patched by AppVeyor

+ 2
- 2
IPA/Properties/AssemblyInfo.cs View File

@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("3.11.1")]
[assembly: AssemblyFileVersion("3.11.1")]
[assembly: AssemblyVersion("3.11.1")] // will be patched by AppVeyor
[assembly: AssemblyFileVersion("3.11.1")] // will be patched by AppVeyor

+ 11
- 3
appveyor.yml View File

@ -1,4 +1,6 @@
version: '{branch}-{build}'
version: 'BSIPA-{branch}-{build}'
environment:
bsipa_version: '3.11.1'
pull_requests:
do_not_increment_build_number: true
install:
@ -11,15 +13,21 @@ cache:
- '%LocalAppData%\NuGet\v3-cache' # NuGet v3
artifacts:
- path: IPA/bin/$(configuration)
assembly_info:
patch: true
file: IPA/Properties/AssemblyInfo.cs;IPA.Injector/Properties/AssemblyInfo.cs
assembly_version: '$(bsipa_version)'
assembly_file_version: '$(bsipa_version)'
build:
verbosity: normal
project: BSIPA.sln
deploy:
- provider: GitHub
release: BSIPA {NEWVER}
release: BSIPA $(bsipa_version)
tag: $(bsipa_version)
auth_token:
secure: KhF3q/zWEFwrW0QeZLqE3NAkWR4u9iVhsmcyzXvwwJ28fUy+MzW4CWBx3RxNM60t
artifact: IPA\Bin\Release.zip
artifact: IPA/Bin/$(configuration).zip
draft: true
force_update: true
on:

Loading…
Cancel
Save