Upped the version numbers and added the Git SHA to the info

This commit is contained in:
Matthew Leibowitz 2016-04-19 19:19:07 +02:00
Родитель 553b11960d
Коммит e32f541a88
5 изменённых файлов: 17 добавлений и 5 удалений

Просмотреть файл

@ -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.

Просмотреть файл

@ -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>