Upped the version numbers and added the Git SHA to the info
This commit is contained in:
Родитель
553b11960d
Коммит
e32f541a88
|
@ -17,8 +17,8 @@
|
|||
// and "{Major}.{Minor}.{Build}.*" will update just the revision.
|
||||
|
||||
[assembly: AssemblyVersion ("1.49.0.0")]
|
||||
[assembly: AssemblyFileVersion ("1.49.1.0")]
|
||||
[assembly: AssemblyInformationalVersion ("1.49.1.0")]
|
||||
[assembly: AssemblyFileVersion ("1.49.2.1")]
|
||||
[assembly: AssemblyInformationalVersion ("1.49.2.1-{GIT_SHA}")]
|
||||
|
||||
// The following attributes are used to specify the signing key for the assembly,
|
||||
// if desired. See the Mono documentation for more information about signing.
|
||||
|
|
12
build.cake
12
build.cake
|
@ -417,14 +417,25 @@ Task ("externals-android")
|
|||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
Task ("libs")
|
||||
.IsDependentOn ("libs-base")
|
||||
.IsDependentOn ("libs-windows")
|
||||
.IsDependentOn ("libs-osx")
|
||||
.Does (() =>
|
||||
{
|
||||
});
|
||||
Task ("libs-base")
|
||||
.Does (() =>
|
||||
{
|
||||
// set the SHA on the assembly info
|
||||
var sha = EnvironmentVariable ("GIT_COMMIT") ?? string.Empty;
|
||||
if (!string.IsNullOrEmpty (sha) && sha.Length >= 6) {
|
||||
ReplaceTextInFiles ("./binding/SkiaSharp/Properties/SkiaSharpAssemblyInfo.cs", "{GIT_SHA}", sha.Substring (0, 6));
|
||||
}
|
||||
});
|
||||
Task ("libs-windows")
|
||||
.WithCriteria (IsRunningOnWindows ())
|
||||
.IsDependentOn ("externals")
|
||||
.IsDependentOn ("libs-base")
|
||||
.Does (() =>
|
||||
{
|
||||
// build
|
||||
|
@ -446,6 +457,7 @@ Task ("libs-windows")
|
|||
Task ("libs-osx")
|
||||
.WithCriteria (IsRunningOnUnix ())
|
||||
.IsDependentOn ("externals")
|
||||
.IsDependentOn ("libs-base")
|
||||
.Does (() =>
|
||||
{
|
||||
// build
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<metadata>
|
||||
<id>SkiaSharp.Mac</id>
|
||||
<title>SkiaSharp for OSX</title>
|
||||
<version>1.49.2.0-beta</version>
|
||||
<version>1.49.2.1-beta</version>
|
||||
<authors>Xamarin Inc.</authors>
|
||||
<owners>Xamarin Inc.</owners>
|
||||
<requireLicenseAcceptance>false</requireLicenseAcceptance>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<metadata>
|
||||
<id>SkiaSharp.Windows</id>
|
||||
<title>SkiaSharp for Windows</title>
|
||||
<version>1.49.2.0-beta</version>
|
||||
<version>1.49.2.1-beta</version>
|
||||
<authors>Xamarin Inc.</authors>
|
||||
<owners>Xamarin Inc.</owners>
|
||||
<requireLicenseAcceptance>false</requireLicenseAcceptance>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<metadata>
|
||||
<id>SkiaSharp</id>
|
||||
<title>SkiaSharp</title>
|
||||
<version>1.49.2.0-beta</version>
|
||||
<version>1.49.2.1-beta</version>
|
||||
<authors>Xamarin Inc.</authors>
|
||||
<owners>Xamarin Inc.</owners>
|
||||
<requireLicenseAcceptance>false</requireLicenseAcceptance>
|
||||
|
|
Загрузка…
Ссылка в новой задаче