forked from dotnetprojects/DotNetSiemensPLCToolBoxLibrary
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
60 lines (47 loc) · 1.6 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
60
image: Visual Studio 2019
version: 4.0.{build}
branches:
only:
- master
dotnet_csproj:
patch: true
file: '**\*.csproj'
version: '{version}'
package_version: '{version}'
assembly_version: '{version}'
file_version: '{version}'
informational_version: '{version}'
configuration: Debug
install:
- cmd: choco install dotnetcore-sdk --pre
before_build:
- cmd.exe /c externalDlls\libnodave\vcwinmake_64.bat
- cmd.exe /c externalDlls\libnodave\vcwinmake.bat
- externalDlls\copydlls.bat
- nuget restore
build:
project: DotNetSiemensPLCToolBoxLibrary.sln
after_build:
- 7z a TiaGitHandler.zip %APPVEYOR_BUILD_FOLDER%\TiaGitHandler\bin\Debug\net461\*.*
- 7z a WPFVarTab.zip %APPVEYOR_BUILD_FOLDER%\WPFVarTab\bin\Debug\net462\*.*
- 7z a Protokoller.zip %APPVEYOR_BUILD_FOLDER%\DotNetDatenbankProtokollerV2\DotNetSimaticDatabaseProtokollerService\bin\Debug\net462\*.*
- 7z a S7ToolBox.zip %APPVEYOR_BUILD_FOLDER%\TestProjectFileFunctions\bin\Debug\net461\*.*
artifacts:
- path: externalDlls\libnodave\libnodave_jfkmod.dll
name: libnodave_jfkmod.dll
- path: externalDlls\libnodave\libnodave_jfkmod64.dll
name: libnodave_jfkmod64.dll
- path: '**\DotNetSiemensPLCToolBoxLibrary*.nupkg'
- path: TiaGitHandler.zip
name: TiaGitHandler
- path: S7ToolBox.zip
name: S7ToolBox
- path: WPFVarTab.zip
name: WPFVarTab
- path: Protokoller.zip
name: Protokoller
deploy:
provider: NuGet
api_key:
secure: bdhemLvYgto+o1hjkJ9OhVRANxW6+U9RTGQre/KqyV3mFWmN5BQA6ZpMoHbjsaJW
artifact: /.*\.nupkg/