forked from dnGrep/dnGrep
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
60 lines (56 loc) · 2.27 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
version: 4.3.{build}.0
branches:
only:
- master
- DraftPrereleaseToGitHub
skip_tags: true
image: Visual Studio 2022
configuration: Release
platform:
- x86
- x64
assembly_info:
patch: true
file: AssemblyVersionCommon.cs
assembly_version: '{version}'
assembly_file_version: '{version}'
assembly_informational_version: '{version}'
install:
- ps: ./dotnet-install.ps1 -Channel 8.0 -Version 8.0.405
before_build:
- cmd: nuget restore
- ps: ./make-msix.ps1
- ps: ./patch-rc-version.ps1
build:
project: dnGREP.WPF.sln
parallel: true
verbosity: normal
after_build:
- 7z a %APPVEYOR_BUILD_FOLDER%\portable\%PlATFORM%\dnGrep.%APPVEYOR_BUILD_VERSION%.%PlATFORM%.zip %APPVEYOR_BUILD_FOLDER%\publish\win-%PlATFORM%\* -xr@%APPVEYOR_BUILD_FOLDER%\excludeFiles_win-%PlATFORM%.txt
- 7z a %APPVEYOR_BUILD_FOLDER%\%CONFIGURATION%\%PlATFORM%\Bundle.%APPVEYOR_BUILD_VERSION%.%PlATFORM%.zip %APPVEYOR_BUILD_FOLDER%\%CONFIGURATION%\%PlATFORM%\dnGrep*.msi %APPVEYOR_BUILD_FOLDER%\portable\%PlATFORM%\dnGrep*.zip
artifacts:
- path: Release\x86\*.zip
name: 32-bit Bundle ZIP
- path: Release\x64\*.zip
name: 64-bit Bundle ZIP
deploy:
- provider: Webhook
url: https://app.signpath.io/API/v1/736ab30b-dc3e-41ee-800d-c5674d702ed8/Integrations/AppVeyor?ProjectSlug=dnGrep&SigningPolicySlug=release-signing
authorization:
secure: +b4UCV2LUyweG3/0jfhRHXzKYGdSbwb4ZZ2roGLdbuIuu3tGHNZppkiVSCBEHRTtoBnhI7K+j0vuRmRhUcMkrQ==
on:
branch: DraftPrereleaseToGitHub
configuration: Release
- provider: GitHub
tag: v$(appveyor_build_version)
release: v$(appveyor_build_version)
auth_token:
secure: q0bGZDcjkoPwfHqzHbftJAHUR2q/I0dQIJCP5uAX2wjwzDsZS77IFSc26XFaD1pA
draft: true
on:
branch: DraftPrereleaseToGitHub
configuration: Release
description: |
[![v$(APPVEYOR_BUILD_VERSION)](https://img.shields.io/github/downloads/$(APPVEYOR_REPO_NAME)/v$(APPVEYOR_BUILD_VERSION)/total.svg)](https://github.com/$(APPVEYOR_REPO_NAME)/releases/tag/v$(APPVEYOR_BUILD_VERSION))
## Changes in this release:
This program uses free code signing provided by [SignPath.io](https://signpath.io?utm_source=foundation&utm_medium=github&utm_campaign=dngrep), and a certificate by the [SignPath Foundation](https://signpath.org?utm_source=foundation&utm_medium=github&utm_campaign=dngrep).