File tree 3 files changed +6
-11
lines changed
3 files changed +6
-11
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ function Test([string]$projectpath) {
19
19
if ($LASTEXITCODE -ne 0 ) { Die(" $projectpath failed." ) }
20
20
}
21
21
22
- .\build\build.ps1 - suffix " $env: PrereleaseTag " - config " $env: Configuration "
22
+ .\build\build.ps1 - version " $env: PackageVersion " - config " $env: Configuration "
23
23
if ($LASTEXITCODE -ne 0 ) { Die(" Build failed." ) }
24
24
25
25
Test " Peachpie.ScriptTests"
Original file line number Diff line number Diff line change 3
3
4
4
<PropertyGroup >
5
5
6
- <!-- common version -->
7
- <VersionPrefix Condition =" '$(VersionPrefix )'=='' " >0.9.9</ VersionPrefix >
8
- <VersionSuffix Condition = " '$(VersionSuffix)'=='' and '$(IsDevBuild)'!='false' " >dev</ VersionSuffix >
6
+ <!-- version -->
7
+ <Version Condition =" '$(Version )'=='' " >0.9.9-dev</ Version >
8
+ <PackageVersion >$(Version)</ PackageVersion >
9
9
10
10
<!-- metadata generation -->
11
11
<GenerateAssemblyVersionAttribute >true</GenerateAssemblyVersionAttribute >
37
37
<PackageOutputPath >$(MSBuildThisFileDirectory)../../.nugs</PackageOutputPath >
38
38
<PackageIconUrl >https://github.com/peachpiecompiler/peachpie/raw/master/docs/logos/round-orange-196x196.png</PackageIconUrl >
39
39
</PropertyGroup >
40
-
41
- <PropertyGroup Condition =" '$(PackageVersion)'=='' " >
42
- <PackageVersion >$(VersionPrefix)</PackageVersion >
43
- <PackageVersion Condition =" '$(VersionSuffix)'!='' " >$(PackageVersion)-$(VersionSuffix)</PackageVersion >
44
- </PropertyGroup >
45
40
46
41
<!-- common targets -->
47
42
<Import Project =" CommonBuild.target" />
Original file line number Diff line number Diff line change 1
1
Param (
2
- [string ]$suffix = " dev" ,
2
+ [string ]$version = " 0.9.9- dev" ,
3
3
[string ]$config = " Debug"
4
4
)
5
5
6
- $props = " /p:VersionSuffix= $suffix ,PackageVersionSuffix= $suffix ,Configuration=$config "
6
+ $props = " /p:Version= $version ,Configuration=$config "
7
7
8
8
Write-Host -f Green " msbuild $props ..."
9
9
You can’t perform that action at this time.
0 commit comments