Add some build information to assemblies

This commit is contained in:
Redth 2017-11-30 13:07:38 -05:00
Родитель aa106828db
Коммит cb23374c76
39 изменённых файлов: 259 добавлений и 3 удалений

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

@ -20,3 +20,8 @@ using Android.App;
// if desired. See the Mono documentation for more information about signing.
//[assembly: AssemblyDelaySign(false)]
//[assembly: AssemblyKeyFile("")]
[assembly: AssemblyMetadata ("BUILD_COMMIT", "{BUILD_COMMIT}")]
[assembly: AssemblyMetadata ("BUILD_NUMBER", "{BUILD_NUMBER}")]
[assembly: AssemblyMetadata ("BUILD_TIMESTAMP", "{BUILD_TIMESTAMP}")]
[assembly: AssemblyFileVersion ("{NUGET_VERSION}")]
[assembly: AssemblyInformationalVersion ("{BUILD_COMMIT}")]

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

@ -21,3 +21,9 @@ using Android.App;
// if desired. See the Mono documentation for more information about signing.
//[assembly: AssemblyDelaySign(false)]
//[assembly: AssemblyKeyFile("")]
[assembly: AssemblyMetadata ("BUILD_COMMIT", "{BUILD_COMMIT}")]
[assembly: AssemblyMetadata ("BUILD_NUMBER", "{BUILD_NUMBER}")]
[assembly: AssemblyMetadata ("BUILD_TIMESTAMP", "{BUILD_TIMESTAMP}")]
[assembly: AssemblyFileVersion ("{NUGET_VERSION}")]
[assembly: AssemblyInformationalVersion ("{BUILD_COMMIT}")]

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

@ -25,3 +25,9 @@ using Android.App;
//[assembly: AssemblyDelaySign(false)]
//[assembly: AssemblyKeyFile("")]
[assembly: AssemblyMetadata ("BUILD_COMMIT", "{BUILD_COMMIT}")]
[assembly: AssemblyMetadata ("BUILD_NUMBER", "{BUILD_NUMBER}")]
[assembly: AssemblyMetadata ("BUILD_TIMESTAMP", "{BUILD_TIMESTAMP}")]
[assembly: AssemblyFileVersion ("{NUGET_VERSION}")]
[assembly: AssemblyInformationalVersion ("{BUILD_COMMIT}")]

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

@ -25,3 +25,9 @@ using Android.App;
//[assembly: AssemblyDelaySign(false)]
//[assembly: AssemblyKeyFile("")]
[assembly: AssemblyMetadata ("BUILD_COMMIT", "{BUILD_COMMIT}")]
[assembly: AssemblyMetadata ("BUILD_NUMBER", "{BUILD_NUMBER}")]
[assembly: AssemblyMetadata ("BUILD_TIMESTAMP", "{BUILD_TIMESTAMP}")]
[assembly: AssemblyFileVersion ("{NUGET_VERSION}")]
[assembly: AssemblyInformationalVersion ("{BUILD_COMMIT}")]

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

@ -25,3 +25,9 @@ using Android.App;
//[assembly: AssemblyDelaySign(false)]
//[assembly: AssemblyKeyFile("")]
[assembly: AssemblyMetadata ("BUILD_COMMIT", "{BUILD_COMMIT}")]
[assembly: AssemblyMetadata ("BUILD_NUMBER", "{BUILD_NUMBER}")]
[assembly: AssemblyMetadata ("BUILD_TIMESTAMP", "{BUILD_TIMESTAMP}")]
[assembly: AssemblyFileVersion ("{NUGET_VERSION}")]
[assembly: AssemblyInformationalVersion ("{BUILD_COMMIT}")]

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

@ -102,6 +102,7 @@ class ArtifactInfo
NuGetVersion = nugetVersion;
ComponentVersion = componentVersion;
IsJar = isJar;
PathPrefix = string.Empty;
}
public string Package { get; set; }
@ -411,6 +412,7 @@ Task ("nuget")
.IsDependentOn ("nuget-base");
Task ("ci")
.IsDependentOn ("ci-setup")
.IsDependentOn ("diff")
.IsDependentOn ("component");
@ -433,8 +435,34 @@ Task ("clean")
CleanDirectories ("./**/packages");
});
Task ("ci-setup")
.WithCriteria (!BuildSystem.IsLocalBuild)
.Does (() =>
{
var buildCommit = "DEV";
var buildNumber = "DEBUG";
var buildTimestamp = DateTime.UtcNow.ToString ();
Task ("component-docs").Does (() =>
if (BuildSystem.IsRunningOnJenkins) {
buildNumber = BuildSystem.Jenkins.Environment.Build.BuildTag;
buildCommit = EnvironmentVariable("GIT_COMMIT") ?? buildCommit;
} else if (BuildSystem.IsRunningOnVSTS) {
buildNumber = BuildSystem.TFBuild.Environment.Build.Number;
buildCommit = BuildSystem.TFBuild.Environment.Repository.SourceVersion;
}
foreach (var art in ARTIFACTS) {
var glob = "./" + art.PathPrefix + art.ArtifactId + "/**/source/**/AssemblyInfo.cs";
ReplaceTextInFiles(glob, "{NUGET_VERSION}", art.NuGetVersion);
ReplaceTextInFiles(glob, "{BUILD_COMMIT}", buildCommit);
ReplaceTextInFiles(glob, "{BUILD_NUMBER}", buildNumber);
ReplaceTextInFiles(glob, "{BUILD_TIMESTAMP}", buildTimestamp);
}
});
Task ("component-docs")
.Does (() =>
{
var gettingStartedTemplates = new Dictionary<string, string> ();
@ -549,7 +577,8 @@ Task ("genapi")
CopyFile ("./support-v4/source/bin/" + BUILD_CONFIG + "/Xamarin.Android.Support.v4.dll", "./output/Xamarin.Android.Support.v4.dll");
});
Task ("buildtasks").Does (() =>
Task ("buildtasks")
.Does (() =>
{
NuGetRestore ("./support-vector-drawable/buildtask/Vector-Drawable-BuildTasks.csproj");
@ -557,7 +586,8 @@ Task ("buildtasks").Does (() =>
});
Task ("droiddocs").Does (() =>
Task ("droiddocs")
.Does (() =>
{
EnsureDirectoryExists("./output");

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

@ -20,3 +20,9 @@ using Android.App;
// if desired. See the Mono documentation for more information about signing.
//[assembly: AssemblyDelaySign(false)]
//[assembly: AssemblyKeyFile("")]
[assembly: AssemblyMetadata ("BUILD_COMMIT", "{BUILD_COMMIT}")]
[assembly: AssemblyMetadata ("BUILD_NUMBER", "{BUILD_NUMBER}")]
[assembly: AssemblyMetadata ("BUILD_TIMESTAMP", "{BUILD_TIMESTAMP}")]
[assembly: AssemblyFileVersion ("{NUGET_VERSION}")]
[assembly: AssemblyInformationalVersion ("{BUILD_COMMIT}")]

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

@ -19,3 +19,9 @@ using Android.App;
// and "{Major}.{Minor}.{Build}.*" will update just the revision.
[assembly: AssemblyVersion ("1.1.0.0")]
[assembly: AssemblyMetadata ("BUILD_COMMIT", "{BUILD_COMMIT}")]
[assembly: AssemblyMetadata ("BUILD_NUMBER", "{BUILD_NUMBER}")]
[assembly: AssemblyMetadata ("BUILD_TIMESTAMP", "{BUILD_TIMESTAMP}")]
[assembly: AssemblyFileVersion ("{NUGET_VERSION}")]
[assembly: AssemblyInformationalVersion ("{BUILD_COMMIT}")]

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

@ -19,3 +19,9 @@ using Android.App;
// and "{Major}.{Minor}.{Build}.*" will update just the revision.
[assembly: AssemblyVersion ("1.1.0.0")]
[assembly: AssemblyMetadata ("BUILD_COMMIT", "{BUILD_COMMIT}")]
[assembly: AssemblyMetadata ("BUILD_NUMBER", "{BUILD_NUMBER}")]
[assembly: AssemblyMetadata ("BUILD_TIMESTAMP", "{BUILD_TIMESTAMP}")]
[assembly: AssemblyFileVersion ("{NUGET_VERSION}")]
[assembly: AssemblyInformationalVersion ("{BUILD_COMMIT}")]

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

@ -25,3 +25,9 @@ using Android.App;
//[assembly: AssemblyDelaySign(false)]
//[assembly: AssemblyKeyFile("")]
[assembly: AssemblyMetadata ("BUILD_COMMIT", "{BUILD_COMMIT}")]
[assembly: AssemblyMetadata ("BUILD_NUMBER", "{BUILD_NUMBER}")]
[assembly: AssemblyMetadata ("BUILD_TIMESTAMP", "{BUILD_TIMESTAMP}")]
[assembly: AssemblyFileVersion ("{NUGET_VERSION}")]
[assembly: AssemblyInformationalVersion ("{BUILD_COMMIT}")]

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

@ -25,3 +25,9 @@ using Android.App;
//[assembly: AssemblyDelaySign(false)]
//[assembly: AssemblyKeyFile("")]
[assembly: AssemblyMetadata ("BUILD_COMMIT", "{BUILD_COMMIT}")]
[assembly: AssemblyMetadata ("BUILD_NUMBER", "{BUILD_NUMBER}")]
[assembly: AssemblyMetadata ("BUILD_TIMESTAMP", "{BUILD_TIMESTAMP}")]
[assembly: AssemblyFileVersion ("{NUGET_VERSION}")]
[assembly: AssemblyInformationalVersion ("{BUILD_COMMIT}")]

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

@ -25,3 +25,9 @@ using Android.App;
//[assembly: AssemblyDelaySign(false)]
//[assembly: AssemblyKeyFile("")]
[assembly: AssemblyMetadata ("BUILD_COMMIT", "{BUILD_COMMIT}")]
[assembly: AssemblyMetadata ("BUILD_NUMBER", "{BUILD_NUMBER}")]
[assembly: AssemblyMetadata ("BUILD_TIMESTAMP", "{BUILD_TIMESTAMP}")]
[assembly: AssemblyFileVersion ("{NUGET_VERSION}")]
[assembly: AssemblyInformationalVersion ("{BUILD_COMMIT}")]

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

@ -20,3 +20,9 @@ using Android.App;
// if desired. See the Mono documentation for more information about signing.
//[assembly: AssemblyDelaySign(false)]
//[assembly: AssemblyKeyFile("")]
[assembly: AssemblyMetadata ("BUILD_COMMIT", "{BUILD_COMMIT}")]
[assembly: AssemblyMetadata ("BUILD_NUMBER", "{BUILD_NUMBER}")]
[assembly: AssemblyMetadata ("BUILD_TIMESTAMP", "{BUILD_TIMESTAMP}")]
[assembly: AssemblyFileVersion ("{NUGET_VERSION}")]
[assembly: AssemblyInformationalVersion ("{BUILD_COMMIT}")]

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

@ -26,3 +26,9 @@ using Java.Interop;
//[assembly: AssemblyDelaySign(false)]
//[assembly: AssemblyKeyFile("")]
[assembly: AssemblyMetadata ("BUILD_COMMIT", "{BUILD_COMMIT}")]
[assembly: AssemblyMetadata ("BUILD_NUMBER", "{BUILD_NUMBER}")]
[assembly: AssemblyMetadata ("BUILD_TIMESTAMP", "{BUILD_TIMESTAMP}")]
[assembly: AssemblyFileVersion ("{NUGET_VERSION}")]
[assembly: AssemblyInformationalVersion ("{BUILD_COMMIT}")]

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

@ -20,3 +20,9 @@ using Android.App;
// if desired. See the Mono documentation for more information about signing.
//[assembly: AssemblyDelaySign(false)]
//[assembly: AssemblyKeyFile("")]
[assembly: AssemblyMetadata ("BUILD_COMMIT", "{BUILD_COMMIT}")]
[assembly: AssemblyMetadata ("BUILD_NUMBER", "{BUILD_NUMBER}")]
[assembly: AssemblyMetadata ("BUILD_TIMESTAMP", "{BUILD_TIMESTAMP}")]
[assembly: AssemblyFileVersion ("{NUGET_VERSION}")]
[assembly: AssemblyInformationalVersion ("{BUILD_COMMIT}")]

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

@ -20,3 +20,9 @@ using Android.App;
// if desired. See the Mono documentation for more information about signing.
//[assembly: AssemblyDelaySign(false)]
//[assembly: AssemblyKeyFile("")]
[assembly: AssemblyMetadata ("BUILD_COMMIT", "{BUILD_COMMIT}")]
[assembly: AssemblyMetadata ("BUILD_NUMBER", "{BUILD_NUMBER}")]
[assembly: AssemblyMetadata ("BUILD_TIMESTAMP", "{BUILD_TIMESTAMP}")]
[assembly: AssemblyFileVersion ("{NUGET_VERSION}")]
[assembly: AssemblyInformationalVersion ("{BUILD_COMMIT}")]

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

@ -25,3 +25,9 @@ using Android.App;
//[assembly: AssemblyDelaySign(false)]
//[assembly: AssemblyKeyFile("")]
[assembly: AssemblyMetadata ("BUILD_COMMIT", "{BUILD_COMMIT}")]
[assembly: AssemblyMetadata ("BUILD_NUMBER", "{BUILD_NUMBER}")]
[assembly: AssemblyMetadata ("BUILD_TIMESTAMP", "{BUILD_TIMESTAMP}")]
[assembly: AssemblyFileVersion ("{NUGET_VERSION}")]
[assembly: AssemblyInformationalVersion ("{BUILD_COMMIT}")]

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

@ -25,3 +25,9 @@ using Android.App;
//[assembly: AssemblyDelaySign(false)]
//[assembly: AssemblyKeyFile("")]
[assembly: AssemblyMetadata ("BUILD_COMMIT", "{BUILD_COMMIT}")]
[assembly: AssemblyMetadata ("BUILD_NUMBER", "{BUILD_NUMBER}")]
[assembly: AssemblyMetadata ("BUILD_TIMESTAMP", "{BUILD_TIMESTAMP}")]
[assembly: AssemblyFileVersion ("{NUGET_VERSION}")]
[assembly: AssemblyInformationalVersion ("{BUILD_COMMIT}")]

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

@ -25,3 +25,9 @@ using Android.App;
//[assembly: AssemblyDelaySign(false)]
//[assembly: AssemblyKeyFile("")]
[assembly: AssemblyMetadata ("BUILD_COMMIT", "{BUILD_COMMIT}")]
[assembly: AssemblyMetadata ("BUILD_NUMBER", "{BUILD_NUMBER}")]
[assembly: AssemblyMetadata ("BUILD_TIMESTAMP", "{BUILD_TIMESTAMP}")]
[assembly: AssemblyFileVersion ("{NUGET_VERSION}")]
[assembly: AssemblyInformationalVersion ("{BUILD_COMMIT}")]

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

@ -25,3 +25,9 @@ using Android.App;
//[assembly: AssemblyDelaySign(false)]
//[assembly: AssemblyKeyFile("")]
[assembly: AssemblyMetadata ("BUILD_COMMIT", "{BUILD_COMMIT}")]
[assembly: AssemblyMetadata ("BUILD_NUMBER", "{BUILD_NUMBER}")]
[assembly: AssemblyMetadata ("BUILD_TIMESTAMP", "{BUILD_TIMESTAMP}")]
[assembly: AssemblyFileVersion ("{NUGET_VERSION}")]
[assembly: AssemblyInformationalVersion ("{BUILD_COMMIT}")]

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

@ -25,3 +25,9 @@ using Android.App;
//[assembly: AssemblyDelaySign(false)]
//[assembly: AssemblyKeyFile("")]
[assembly: AssemblyMetadata ("BUILD_COMMIT", "{BUILD_COMMIT}")]
[assembly: AssemblyMetadata ("BUILD_NUMBER", "{BUILD_NUMBER}")]
[assembly: AssemblyMetadata ("BUILD_TIMESTAMP", "{BUILD_TIMESTAMP}")]
[assembly: AssemblyFileVersion ("{NUGET_VERSION}")]
[assembly: AssemblyInformationalVersion ("{BUILD_COMMIT}")]

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

@ -20,3 +20,9 @@ using Android.App;
// if desired. See the Mono documentation for more information about signing.
//[assembly: AssemblyDelaySign(false)]
//[assembly: AssemblyKeyFile("")]
[assembly: AssemblyMetadata ("BUILD_COMMIT", "{BUILD_COMMIT}")]
[assembly: AssemblyMetadata ("BUILD_NUMBER", "{BUILD_NUMBER}")]
[assembly: AssemblyMetadata ("BUILD_TIMESTAMP", "{BUILD_TIMESTAMP}")]
[assembly: AssemblyFileVersion ("{NUGET_VERSION}")]
[assembly: AssemblyInformationalVersion ("{BUILD_COMMIT}")]

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

@ -20,6 +20,12 @@ using Android.App;
[assembly: AssemblyVersion ("1.0.0")]
[assembly: AssemblyMetadata ("BUILD_COMMIT", "{BUILD_COMMIT}")]
[assembly: AssemblyMetadata ("BUILD_NUMBER", "{BUILD_NUMBER}")]
[assembly: AssemblyMetadata ("BUILD_TIMESTAMP", "{BUILD_TIMESTAMP}")]
[assembly: AssemblyFileVersion ("{NUGET_VERSION}")]
[assembly: AssemblyInformationalVersion ("{BUILD_COMMIT}")]
// The following attributes are used to specify the signing key for the assembly,
// if desired. See the Mono documentation for more information about signing.

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

@ -21,6 +21,12 @@ using Java.Interop;
[assembly: AssemblyVersion("1.0.0")]
[assembly: AssemblyMetadata ("BUILD_COMMIT", "{BUILD_COMMIT}")]
[assembly: AssemblyMetadata ("BUILD_NUMBER", "{BUILD_NUMBER}")]
[assembly: AssemblyMetadata ("BUILD_TIMESTAMP", "{BUILD_TIMESTAMP}")]
[assembly: AssemblyFileVersion ("{NUGET_VERSION}")]
[assembly: AssemblyInformationalVersion ("{BUILD_COMMIT}")]
// The following attributes are used to specify the signing key for the assembly,
// if desired. See the Mono documentation for more information about signing.

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

@ -25,3 +25,9 @@ using Android.App;
//[assembly: AssemblyDelaySign(false)]
//[assembly: AssemblyKeyFile("")]
[assembly: AssemblyMetadata ("BUILD_COMMIT", "{BUILD_COMMIT}")]
[assembly: AssemblyMetadata ("BUILD_NUMBER", "{BUILD_NUMBER}")]
[assembly: AssemblyMetadata ("BUILD_TIMESTAMP", "{BUILD_TIMESTAMP}")]
[assembly: AssemblyFileVersion ("{NUGET_VERSION}")]
[assembly: AssemblyInformationalVersion ("{BUILD_COMMIT}")]

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

@ -25,3 +25,9 @@ using Android.App;
//[assembly: AssemblyDelaySign(false)]
//[assembly: AssemblyKeyFile("")]
[assembly: AssemblyMetadata ("BUILD_COMMIT", "{BUILD_COMMIT}")]
[assembly: AssemblyMetadata ("BUILD_NUMBER", "{BUILD_NUMBER}")]
[assembly: AssemblyMetadata ("BUILD_TIMESTAMP", "{BUILD_TIMESTAMP}")]
[assembly: AssemblyFileVersion ("{NUGET_VERSION}")]
[assembly: AssemblyInformationalVersion ("{BUILD_COMMIT}")]

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

@ -25,3 +25,9 @@ using Android.App;
//[assembly: AssemblyDelaySign(false)]
//[assembly: AssemblyKeyFile("")]
[assembly: AssemblyMetadata ("BUILD_COMMIT", "{BUILD_COMMIT}")]
[assembly: AssemblyMetadata ("BUILD_NUMBER", "{BUILD_NUMBER}")]
[assembly: AssemblyMetadata ("BUILD_TIMESTAMP", "{BUILD_TIMESTAMP}")]
[assembly: AssemblyFileVersion ("{NUGET_VERSION}")]
[assembly: AssemblyInformationalVersion ("{BUILD_COMMIT}")]

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

@ -26,3 +26,9 @@ using Java.Interop;
//[assembly: AssemblyDelaySign(false)]
//[assembly: AssemblyKeyFile("")]
[assembly: AssemblyMetadata ("BUILD_COMMIT", "{BUILD_COMMIT}")]
[assembly: AssemblyMetadata ("BUILD_NUMBER", "{BUILD_NUMBER}")]
[assembly: AssemblyMetadata ("BUILD_TIMESTAMP", "{BUILD_TIMESTAMP}")]
[assembly: AssemblyFileVersion ("{NUGET_VERSION}")]
[assembly: AssemblyInformationalVersion ("{BUILD_COMMIT}")]

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

@ -25,3 +25,9 @@ using Android.App;
//[assembly: AssemblyDelaySign(false)]
//[assembly: AssemblyKeyFile("")]
[assembly: AssemblyMetadata ("BUILD_COMMIT", "{BUILD_COMMIT}")]
[assembly: AssemblyMetadata ("BUILD_NUMBER", "{BUILD_NUMBER}")]
[assembly: AssemblyMetadata ("BUILD_TIMESTAMP", "{BUILD_TIMESTAMP}")]
[assembly: AssemblyFileVersion ("{NUGET_VERSION}")]
[assembly: AssemblyInformationalVersion ("{BUILD_COMMIT}")]

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

@ -25,3 +25,9 @@ using Android.App;
//[assembly: AssemblyDelaySign(false)]
//[assembly: AssemblyKeyFile("")]
[assembly: AssemblyMetadata ("BUILD_COMMIT", "{BUILD_COMMIT}")]
[assembly: AssemblyMetadata ("BUILD_NUMBER", "{BUILD_NUMBER}")]
[assembly: AssemblyMetadata ("BUILD_TIMESTAMP", "{BUILD_TIMESTAMP}")]
[assembly: AssemblyFileVersion ("{NUGET_VERSION}")]
[assembly: AssemblyInformationalVersion ("{BUILD_COMMIT}")]

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

@ -25,3 +25,9 @@ using Android.App;
//[assembly: AssemblyDelaySign(false)]
//[assembly: AssemblyKeyFile("")]
[assembly: AssemblyMetadata ("BUILD_COMMIT", "{BUILD_COMMIT}")]
[assembly: AssemblyMetadata ("BUILD_NUMBER", "{BUILD_NUMBER}")]
[assembly: AssemblyMetadata ("BUILD_TIMESTAMP", "{BUILD_TIMESTAMP}")]
[assembly: AssemblyFileVersion ("{NUGET_VERSION}")]
[assembly: AssemblyInformationalVersion ("{BUILD_COMMIT}")]

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

@ -25,3 +25,9 @@ using Android.App;
//[assembly: AssemblyDelaySign(false)]
//[assembly: AssemblyKeyFile("")]
[assembly: AssemblyMetadata ("BUILD_COMMIT", "{BUILD_COMMIT}")]
[assembly: AssemblyMetadata ("BUILD_NUMBER", "{BUILD_NUMBER}")]
[assembly: AssemblyMetadata ("BUILD_TIMESTAMP", "{BUILD_TIMESTAMP}")]
[assembly: AssemblyFileVersion ("{NUGET_VERSION}")]
[assembly: AssemblyInformationalVersion ("{BUILD_COMMIT}")]

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

@ -25,3 +25,9 @@ using Android.App;
//[assembly: AssemblyDelaySign(false)]
//[assembly: AssemblyKeyFile("")]
[assembly: AssemblyMetadata ("BUILD_COMMIT", "{BUILD_COMMIT}")]
[assembly: AssemblyMetadata ("BUILD_NUMBER", "{BUILD_NUMBER}")]
[assembly: AssemblyMetadata ("BUILD_TIMESTAMP", "{BUILD_TIMESTAMP}")]
[assembly: AssemblyFileVersion ("{NUGET_VERSION}")]
[assembly: AssemblyInformationalVersion ("{BUILD_COMMIT}")]

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

@ -25,3 +25,9 @@ using Android.App;
//[assembly: AssemblyDelaySign(false)]
//[assembly: AssemblyKeyFile("")]
[assembly: AssemblyMetadata ("BUILD_COMMIT", "{BUILD_COMMIT}")]
[assembly: AssemblyMetadata ("BUILD_NUMBER", "{BUILD_NUMBER}")]
[assembly: AssemblyMetadata ("BUILD_TIMESTAMP", "{BUILD_TIMESTAMP}")]
[assembly: AssemblyFileVersion ("{NUGET_VERSION}")]
[assembly: AssemblyInformationalVersion ("{BUILD_COMMIT}")]

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

@ -21,3 +21,9 @@ using Android.App;
// and "{Major}.{Minor}.{Build}.*" will update just the revision.
[assembly: AssemblyVersion("1.0.0")]
[assembly: AssemblyMetadata ("BUILD_COMMIT", "{BUILD_COMMIT}")]
[assembly: AssemblyMetadata ("BUILD_NUMBER", "{BUILD_NUMBER}")]
[assembly: AssemblyMetadata ("BUILD_TIMESTAMP", "{BUILD_TIMESTAMP}")]
[assembly: AssemblyFileVersion ("{NUGET_VERSION}")]
[assembly: AssemblyInformationalVersion ("{BUILD_COMMIT}")]

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

@ -25,3 +25,9 @@ using Android.App;
//[assembly: AssemblyDelaySign(false)]
//[assembly: AssemblyKeyFile("")]
[assembly: AssemblyMetadata ("BUILD_COMMIT", "{BUILD_COMMIT}")]
[assembly: AssemblyMetadata ("BUILD_NUMBER", "{BUILD_NUMBER}")]
[assembly: AssemblyMetadata ("BUILD_TIMESTAMP", "{BUILD_TIMESTAMP}")]
[assembly: AssemblyFileVersion ("{NUGET_VERSION}")]
[assembly: AssemblyInformationalVersion ("{BUILD_COMMIT}")]

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

@ -20,3 +20,9 @@ using Android.App;
// if desired. See the Mono documentation for more information about signing.
//[assembly: AssemblyDelaySign(false)]
//[assembly: AssemblyKeyFile("")]
[assembly: AssemblyMetadata ("BUILD_COMMIT", "{BUILD_COMMIT}")]
[assembly: AssemblyMetadata ("BUILD_NUMBER", "{BUILD_NUMBER}")]
[assembly: AssemblyMetadata ("BUILD_TIMESTAMP", "{BUILD_TIMESTAMP}")]
[assembly: AssemblyFileVersion ("{NUGET_VERSION}")]
[assembly: AssemblyInformationalVersion ("{BUILD_COMMIT}")]

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

@ -26,3 +26,8 @@ using Android.App;
//[assembly: AssemblyDelaySign(false)]
//[assembly: AssemblyKeyFile("")]
[assembly: AssemblyMetadata ("BUILD_COMMIT", "{BUILD_COMMIT}")]
[assembly: AssemblyMetadata ("BUILD_NUMBER", "{BUILD_NUMBER}")]
[assembly: AssemblyMetadata ("BUILD_TIMESTAMP", "{BUILD_TIMESTAMP}")]
[assembly: AssemblyFileVersion ("{NUGET_VERSION}")]
[assembly: AssemblyInformationalVersion ("{BUILD_COMMIT}")]

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

@ -25,3 +25,9 @@ using Android.App;
//[assembly: AssemblyDelaySign(false)]
//[assembly: AssemblyKeyFile("")]
[assembly: AssemblyMetadata ("BUILD_COMMIT", "{BUILD_COMMIT}")]
[assembly: AssemblyMetadata ("BUILD_NUMBER", "{BUILD_NUMBER}")]
[assembly: AssemblyMetadata ("BUILD_TIMESTAMP", "{BUILD_TIMESTAMP}")]
[assembly: AssemblyFileVersion ("{NUGET_VERSION}")]
[assembly: AssemblyInformationalVersion ("{BUILD_COMMIT}")]