Skip to content

Commit 4f60e95

Browse files
committed
Merge branch 'master' into feature/advanced_diffuse
2 parents d6264f7 + c326111 commit 4f60e95

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+2721
-374
lines changed

appveyor.yml

Lines changed: 20 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,23 @@ build:
5555
after_build:
5656
- ps: |
5757
$env:pov_exe_version = (Get-Content unix\VERSION)
58-
$env:pov_version = "v" + $env:pov_exe_version + '+av' + $env:APPVEYOR_BUILD_NUMBER
58+
$env:pov_tag_version = 'v' + $env:pov_exe_version
59+
$env:pov_build_version = $env:pov_tag_version + '+av' + $env:APPVEYOR_BUILD_NUMBER
60+
$env:pov_build_message = ''
61+
if ($env:pov_exe_version -match '^[0-9.]*-x') {
62+
$env:pov_build_type = 'Experimental'
63+
$env:pov_build_message += '**EXPERIMENTAL: This version of POV-Ray is not part of the official development branch!**'
64+
$env:pov_build_message += "`n`n"
65+
} elseif ($env:pov_exe_version -match '^[0-9.]*-') {
66+
$env:pov_build_type = 'Development'
67+
} else {
68+
$env:pov_build_type = 'Automated'
69+
}
70+
$env:pov_release_type = ($env:pov_build_type).ToLower() + ' release'
71+
$env:pov_build_title = $env:pov_build_type + ' build'
72+
$env:pov_build_message += '**Note:** This is a binary-only ' + $env:pov_release_type + '; to install, copy the binary into an existing POV-Ray 3.7 installation. (Make sure to backup the original binary first.)'
73+
$env:pov_build_message += "`n`n"
74+
$env:pov_build_message += 'The 64-bit binary may require Windows Vista or higher. To run this ' + $env:pov_release_type + ' on an earlier 64-bit version of Windows, you may need to use the 32-bit SSE2 binary instead.'
5975
$env:pov_zipdir = "povray-" + $env:pov_exe_version + '-av' + $env:APPVEYOR_BUILD_NUMBER + $env:artifact_suffix
6076
$env:pov_binary = "Windows\vs10\" + $env:bin_dir + "\pvengine*.exe"
6177
$env:pov_zip = "artifacts\" + $env:pov_zipdir + ".7z"
@@ -72,12 +88,9 @@ artifacts:
7288

7389
deploy:
7490
- provider: GitHub
75-
tag: $(pov_version)
76-
release: Development build $(pov_version)
77-
description: |-
78-
**Note:** This is a binary-only development release; to install, copy the binary into an existing POV-Ray 3.7 installation. (Make sure to backup the original binary first.)
79-
80-
The 64-bit binary may require Windows Vista or higher. To run this development release on an earlier 64-bit version of Windows, you may need to use the 32-bit SSE2 binary instead.
91+
tag: $(pov_tag_version)
92+
release: $(pov_build_title) $(pov_build_version)
93+
description: $(pov_build_message)
8194

8295
auth_token:
8396
secure: WkcFPXyr/SJ9TXixTQyivhfoR9FzlryIbc4deHeQ0eA6YRXL0wQopMYJ6XL1/FJK

0 commit comments

Comments
 (0)