Skip to content

Commit 12c6922

Browse files
committed
Update version strategy in appveyor.yml
1 parent f54e4b3 commit 12c6922

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

appveyor.yml

+7-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
1-
version: 0.2.0.{build}
1+
version: '$(core_version).{build}'
22
os: Unstable
33
configuration: Release
44
clone_depth: 10
55

6+
environment:
7+
core_version: '0.2.0'
8+
prerelease_name: '-beta'
9+
610
branches:
711
only:
812
- master
@@ -18,9 +22,9 @@ branches:
1822
assembly_info:
1923
patch: true
2024
file: '**\AssemblyInfo.*'
21-
assembly_version: '0.2.0' # This version number should always have 0 for the last section
25+
assembly_version: '$(core_version)'
2226
assembly_file_version: '{version}'
23-
assembly_informational_version: '{version}'
27+
assembly_informational_version: '$(core_version)$(prerelease_name)+{build}'
2428

2529
install:
2630
- git submodule -q update --init

0 commit comments

Comments
 (0)