From 77e447d29c1be42933e3a970bfb56fc1ee3e997a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Sim=C3=B5es?= Date: Wed, 6 Dec 2017 18:42:13 +0000 Subject: [PATCH] Update Assembly info MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add missing attributes for version information - Update AppVeyor accordingly Signed-off-by: José Simões --- appveyor.yml | 10 +++++++--- source/System/AssemblyInfo2.cs | 7 +++++++ 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 55038332..39ab4679 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -6,6 +6,8 @@ image: Visual Studio 2017 + skip_branch_with_pr: true + # Skipping commits affecting specific files skip_commits: files: @@ -52,7 +54,7 @@ nuget restore source\nanoFramework.CoreLibrary.sln - gitversion /l console /output buildserver /updateAssemblyInfo /ensureassemblyinfo + gitversion /l console /output buildserver /updateAssemblyInfo AssemblyInfo2.cs /ensureassemblyinfo build_script: - ps: >- @@ -76,6 +78,8 @@ api_key: secure: NSRDXbS8tmzOy4wStGuO3yQMKI8Sk10vF8iQtz9ZDXEnHfwnuDdnXbr/Kno3MMvY skip_symbols: true + on: + appveyor_repo_tag: true - provider: GitHub tag: v$(GitVersion_NuGetVersionV2) release: nanoFramework Core Library v$(gitversion_semver) @@ -143,7 +147,7 @@ nuget restore source\nanoFramework.CoreLibrary.sln - gitversion /l console /output buildserver /updateAssemblyInfo /ensureassemblyinfo + gitversion /l console /output buildserver /updateAssemblyInfo AssemblyInfo2.cs /ensureassemblyinfo build_script: - ps: >- @@ -250,7 +254,7 @@ nuget restore source\nanoFramework.CoreLibrary.sln - gitversion /l console /output buildserver /updateAssemblyInfo /ensureassemblyinfo + gitversion /l console /output buildserver /updateAssemblyInfo AssemblyInfo2.cs /ensureassemblyinfo build_script: - ps: >- diff --git a/source/System/AssemblyInfo2.cs b/source/System/AssemblyInfo2.cs index dea88e02..f2dfc3e9 100644 --- a/source/System/AssemblyInfo2.cs +++ b/source/System/AssemblyInfo2.cs @@ -8,3 +8,10 @@ using System.Reflection; [assembly: CLSCompliant(true)] +[assembly: AssemblyTitle("mscorlib")] +[assembly: AssemblyCompany("nanoFramework Contributors")] +[assembly: AssemblyProduct("nanoFramework mscorlib")] +[assembly: AssemblyCopyright("Copyright © nanoFramework Contributors 2017")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] +[assembly: AssemblyInformationalVersion("1.0.0.0")]