1
- version : 1.0 .{build}
1
+ version : 0.9.5 .{build}
2
2
image : Visual Studio 2015
3
3
4
4
5
- clone_depth : 1
6
-
7
-
8
5
environment :
9
6
matrix :
10
7
- PlatformToolset : v140_xp
@@ -28,27 +25,44 @@ build:
28
25
verbosity : minimal
29
26
30
27
build_script :
31
- - cd c:\projects\npp-hexedit \HexEditor\projects\2003\
28
+ - cd "%APPVEYOR_BUILD_FOLDER%" \HexEditor\projects\2003\
32
29
- msbuild HexEditor.vcxproj /p:configuration="%configuration%" /p:platform="%platform%" /p:PlatformToolset="%PlatformToolset%"
33
30
34
31
after_build :
35
- - cd c:\projects\npp-hexedit \HexEditor\projects\2003\
32
+ - cd "%APPVEYOR_BUILD_FOLDER%" \HexEditor\projects\2003\
36
33
- ps : >-
37
- $hexediterFileName = "HexEditor.$env:PLATFORM.$env:CONFIGURATION.$env:PLATFORMTOOLSET.dll"
38
34
39
- if ($env:PLATFORM -eq "x64" -and $env:CONFIGURATION -eq "Release" ) {
40
- Push-AppveyorArtifact "x64\Release \HexEditor.dll" -FileName "$hexediterFileName"
35
+ if ($env:PLATFORM -eq "x64") {
36
+ Push-AppveyorArtifact "$env:PLATFORM\$env:CONFIGURATION \HexEditor.dll" -FileName HexEditor.dll
41
37
}
42
38
43
- if ($env:PLATFORM -eq "x64" -and $env:CONFIGURATION -eq "Debug" ) {
44
- Push-AppveyorArtifact "x64\Debug\ HexEditor.dll" -FileName "$hexediterFileName"
39
+ if ($env:PLATFORM -eq "Win32" ) {
40
+ Push-AppveyorArtifact "$env:CONFIGURATION\ HexEditor.dll" -FileName HexEditor.dll
45
41
}
46
42
47
- if ($env:PLATFORM -eq "Win32" -and $env:CONFIGURATION -eq "Release") {
48
- Push-AppveyorArtifact "Release\HexEditor.dll" -FileName "$hexediterFileName"
43
+ if ($($env:APPVEYOR_REPO_TAG) -eq "true" -and $env:CONFIGURATION -eq "Release" -and $env:PLATFORMTOOLSET -eq "v120_xp") {
44
+ $ZipFileName = "HexEditor_$($env:APPVEYOR_REPO_TAG_NAME)_$env:PLATFORM.zip"
45
+ if($env:PLATFORM -eq "x64"){
46
+ 7z a $ZipFileName $env:PLATFORM\$env:CONFIGURATION\*.dll
47
+ }
48
+ if($env:PLATFORM -eq "Win32"){
49
+ 7z a $ZipFileName $env:CONFIGURATION\*.dll
50
+ }
49
51
}
50
52
51
- if ($env:PLATFORM -eq "Win32" -and $env:CONFIGURATION -eq "Debug") {
52
- Push-AppveyorArtifact "Debug\HexEditor.dll" -FileName "$hexediterFileName"
53
- }
53
+ artifacts :
54
+ - path : HexEditor_*.zip
55
+ name : releases
54
56
57
+ deploy :
58
+ provider : GitHub
59
+ auth_token :
60
+ secure : PhNXrhw03Z0rJZssX/UYyoIofw669wU1GBy/hGq+WJPCXd7mbxDu6Il32Rx0LBH6
61
+ artifact : releases
62
+ draft : false
63
+ prerelease : false
64
+ force_update : true
65
+ on :
66
+ appveyor_repo_tag : true
67
+ PlatformToolset : v120_xp
68
+ configuration : Release
0 commit comments