From bee5f0eea10da6a778c951c50f6f0210083d291e Mon Sep 17 00:00:00 2001 From: Andrew Berezovskyi Date: Sun, 30 Apr 2023 00:00:07 +0200 Subject: [PATCH] build: NuGet publication OSLC4Net.Client 0.3.0-alpha &co. (#72) --- CHANGELOG.md | 1 + .../OSLC4Net.Core.JsonProvider.csproj | 15 +++++++++++++++ .../JsonProvider/Properties/AssemblyInfo.cs | 12 ++++++------ .../OSLC4Net.Client/OSLC4Net.Client.csproj | 15 +++++++++++++++ .../OSLC4Net.Client/Properties/AssemblyInfo.cs | 8 ++++---- .../OSLC4Net.Core.Query.csproj | 15 +++++++++++++++ .../Properties/AssemblyInfo.cs | 12 ++++++------ OSLC4Net_SDK/OSLC4Net.Core/OSLC4Net.Core.csproj | 13 +++++++++++++ .../OSLC4Net.Core/Properties/AssemblyInfo.cs | 8 ++++---- .../OSLC4Net.Core.DotNetRdfProvider.csproj | 13 +++++++++++++ .../Properties/AssemblyInfo.cs | 10 +++++----- README.md | 2 +- 12 files changed, 98 insertions(+), 26 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 50d64d76..c8251472 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - The StockQuoteSample was updated to ASP.NET MVC 5. - Migrated from MSBuild-based NuGet package restore to NuGet 2.7+ Automatic Package Restore. - Migrated from MSTestV1 (`Microsoft.VisualStudio.QualityTools.UnitTestFramework`) to MSTestV2 (`MSTest.Test*`). +- **`AssemblyVersion` was set to `0.3.0.0`** (from 1.0.0.0 in the v0.2.3). This could be a breaking change in some cases, but given that the project was used by a small number of people, the version being obviously wrong (given being present in the 0.2.3 release) and not having a Nuget release before, we decided to go ahead. Furthermore, switching from a direct assembly reference or a project reference to a Nuget package would require changes to the project references anyway. ### Deprecated diff --git a/OSLC4Net_SDK/JsonProvider/OSLC4Net.Core.JsonProvider.csproj b/OSLC4Net_SDK/JsonProvider/OSLC4Net.Core.JsonProvider.csproj index baf7d469..228071f2 100644 --- a/OSLC4Net_SDK/JsonProvider/OSLC4Net.Core.JsonProvider.csproj +++ b/OSLC4Net_SDK/JsonProvider/OSLC4Net.Core.JsonProvider.csproj @@ -11,6 +11,17 @@ OSLC4Net.Core.JsonProvider OSLC4Net.Core.JsonProvider v4.8 + + 0.3.0-alpha + alpha + EPL-1.0 + Andrii Berezovskyi and OSLC4Net contributors + README.md + + MSBuild_Nuget_Pack/ + https://github.com/OSLC/oslc4net/ + https://github.com/OSLC/oslc4net/ + 512 ..\ @@ -34,6 +45,10 @@ 4 false + + + + diff --git a/OSLC4Net_SDK/JsonProvider/Properties/AssemblyInfo.cs b/OSLC4Net_SDK/JsonProvider/Properties/AssemblyInfo.cs index e2ff51c2..2c94a9c1 100644 --- a/OSLC4Net_SDK/JsonProvider/Properties/AssemblyInfo.cs +++ b/OSLC4Net_SDK/JsonProvider/Properties/AssemblyInfo.cs @@ -5,12 +5,12 @@ // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. -[assembly: AssemblyTitle("JsonProvider")] +[assembly: AssemblyTitle("OSLC4Net.Core.JsonProvider")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("IBM")] -[assembly: AssemblyProduct("JsonProvider")] -[assembly: AssemblyCopyright("Copyright © IBM 2013")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("OSLC4Net.Core.JsonProvider")] +[assembly: AssemblyCopyright("Copyright OSLC4Net contributors 2023, IBM 2013")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] @@ -32,5 +32,5 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] +[assembly: AssemblyVersion("0.3.0.0")] +[assembly: AssemblyFileVersion("0.3.0.0")] diff --git a/OSLC4Net_SDK/OSLC4Net.Client/OSLC4Net.Client.csproj b/OSLC4Net_SDK/OSLC4Net.Client/OSLC4Net.Client.csproj index 51929765..5ac67c2c 100644 --- a/OSLC4Net_SDK/OSLC4Net.Client/OSLC4Net.Client.csproj +++ b/OSLC4Net_SDK/OSLC4Net.Client/OSLC4Net.Client.csproj @@ -11,6 +11,17 @@ OSLC4Net.Client OSLC4Net.Client v4.8 + + 0.3.0-alpha + alpha + EPL-1.0 + Andrii Berezovskyi and OSLC4Net contributors + README.md + + MSBuild_Nuget_Pack/ + https://github.com/OSLC/oslc4net/ + https://github.com/OSLC/oslc4net/ + 512 ..\ @@ -35,6 +46,10 @@ 4 false + + + + diff --git a/OSLC4Net_SDK/OSLC4Net.Client/Properties/AssemblyInfo.cs b/OSLC4Net_SDK/OSLC4Net.Client/Properties/AssemblyInfo.cs index 4d7d74fa..444690d3 100644 --- a/OSLC4Net_SDK/OSLC4Net.Client/Properties/AssemblyInfo.cs +++ b/OSLC4Net_SDK/OSLC4Net.Client/Properties/AssemblyInfo.cs @@ -8,9 +8,9 @@ [assembly: AssemblyTitle("OSLC4Net.Client")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("IBM")] +[assembly: AssemblyCompany("")] [assembly: AssemblyProduct("OSLC4Net.Client")] -[assembly: AssemblyCopyright("Copyright © IBM 2012")] +[assembly: AssemblyCopyright("Copyright OSLC4Net contributors 2023, IBM 2012")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] @@ -32,5 +32,5 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] +[assembly: AssemblyVersion("0.3.0.0")] +[assembly: AssemblyFileVersion("0.3.0.0")] diff --git a/OSLC4Net_SDK/OSLC4Net.Core.Query/OSLC4Net.Core.Query.csproj b/OSLC4Net_SDK/OSLC4Net.Core.Query/OSLC4Net.Core.Query.csproj index 23d0f00e..0f7643c6 100644 --- a/OSLC4Net_SDK/OSLC4Net.Core.Query/OSLC4Net.Core.Query.csproj +++ b/OSLC4Net_SDK/OSLC4Net.Core.Query/OSLC4Net.Core.Query.csproj @@ -11,6 +11,17 @@ OSLC4Net.Core.Query OSLC4Net.Core.Query v4.8 + + 0.3.0-alpha + alpha + EPL-1.0 + Andrii Berezovskyi and OSLC4Net contributors + README.md + + MSBuild_Nuget_Pack/ + https://github.com/OSLC/oslc4net/ + https://github.com/OSLC/oslc4net/ + 512 ..\ @@ -34,6 +45,10 @@ 4 false + + + + diff --git a/OSLC4Net_SDK/OSLC4Net.Core.Query/Properties/AssemblyInfo.cs b/OSLC4Net_SDK/OSLC4Net.Core.Query/Properties/AssemblyInfo.cs index 50349a0b..ba7e9172 100644 --- a/OSLC4Net_SDK/OSLC4Net.Core.Query/Properties/AssemblyInfo.cs +++ b/OSLC4Net_SDK/OSLC4Net.Core.Query/Properties/AssemblyInfo.cs @@ -6,12 +6,12 @@ // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. -[assembly: AssemblyTitle("Query")] +[assembly: AssemblyTitle("OSLC4Net.Core.Query")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("IBM")] -[assembly: AssemblyProduct("Query")] -[assembly: AssemblyCopyright("Copyright © IBM 2013")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("OSLC4Net.Core.Query")] +[assembly: AssemblyCopyright("Copyright OSLC4Net contributors 2023, IBM 2013")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] @@ -36,5 +36,5 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] +[assembly: AssemblyVersion("0.3.0.0")] +[assembly: AssemblyFileVersion("0.3.0.0")] diff --git a/OSLC4Net_SDK/OSLC4Net.Core/OSLC4Net.Core.csproj b/OSLC4Net_SDK/OSLC4Net.Core/OSLC4Net.Core.csproj index 788a7fe7..4bab5edd 100644 --- a/OSLC4Net_SDK/OSLC4Net.Core/OSLC4Net.Core.csproj +++ b/OSLC4Net_SDK/OSLC4Net.Core/OSLC4Net.Core.csproj @@ -11,6 +11,15 @@ OSLC4Net.Core OSLC4Net.Core v4.8 + 0.3.0-alpha + alpha + EPL-1.0 + Andrii Berezovskyi and OSLC4Net contributors + README.md + + MSBuild_Nuget_Pack/ + https://github.com/OSLC/oslc4net/ + https://github.com/OSLC/oslc4net/ 512 ..\ @@ -35,6 +44,10 @@ 4 false + + + + diff --git a/OSLC4Net_SDK/OSLC4Net.Core/Properties/AssemblyInfo.cs b/OSLC4Net_SDK/OSLC4Net.Core/Properties/AssemblyInfo.cs index 4129cb64..c66d20ae 100644 --- a/OSLC4Net_SDK/OSLC4Net.Core/Properties/AssemblyInfo.cs +++ b/OSLC4Net_SDK/OSLC4Net.Core/Properties/AssemblyInfo.cs @@ -11,9 +11,9 @@ [assembly: AssemblyTitle("OSLC4Net.Core")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("IBM")] +[assembly: AssemblyCompany("")] [assembly: AssemblyProduct("OSLC4Net.Core")] -[assembly: AssemblyCopyright("Copyright © IBM 2012")] +[assembly: AssemblyCopyright("Copyright OSLC4Net contributors 2023, IBM 2012")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] @@ -35,7 +35,7 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] +[assembly: AssemblyVersion("0.3.0.0")] +[assembly: AssemblyFileVersion("0.3.0.0")] [assembly: OslcSchema(typeof(XmlNamespace))] diff --git a/OSLC4Net_SDK/OSLC4Net.DotNetRdfProvider/OSLC4Net.Core.DotNetRdfProvider.csproj b/OSLC4Net_SDK/OSLC4Net.DotNetRdfProvider/OSLC4Net.Core.DotNetRdfProvider.csproj index 8511b732..05ebe7a9 100644 --- a/OSLC4Net_SDK/OSLC4Net.DotNetRdfProvider/OSLC4Net.Core.DotNetRdfProvider.csproj +++ b/OSLC4Net_SDK/OSLC4Net.DotNetRdfProvider/OSLC4Net.Core.DotNetRdfProvider.csproj @@ -11,6 +11,15 @@ OSLC4Net.Core.DotNetRdfProvider OSLC4Net.Core.DotNetRdfProvider v4.8 + 0.3.0-alpha + alpha + EPL-1.0 + Andrii Berezovskyi and OSLC4Net contributors + README.md + + MSBuild_Nuget_Pack/ + https://github.com/OSLC/oslc4net/ + https://github.com/OSLC/oslc4net/ 512 ..\ @@ -35,6 +44,10 @@ 4 false + + + + diff --git a/OSLC4Net_SDK/OSLC4Net.DotNetRdfProvider/Properties/AssemblyInfo.cs b/OSLC4Net_SDK/OSLC4Net.DotNetRdfProvider/Properties/AssemblyInfo.cs index 97b0581f..543f3fc2 100644 --- a/OSLC4Net_SDK/OSLC4Net.DotNetRdfProvider/Properties/AssemblyInfo.cs +++ b/OSLC4Net_SDK/OSLC4Net.DotNetRdfProvider/Properties/AssemblyInfo.cs @@ -5,12 +5,12 @@ // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. -[assembly: AssemblyTitle("DotNetRdfProvider")] +[assembly: AssemblyTitle("OSLC4Net.Core.DotNetRdfProvider")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("IBM")] +[assembly: AssemblyCompany("")] [assembly: AssemblyProduct("OSLC4Net.Core.DotNetRdfProvider")] -[assembly: AssemblyCopyright("Copyright © IBM 2012")] +[assembly: AssemblyCopyright("Copyright OSLC4Net contributors 2023, IBM 2012")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] @@ -32,6 +32,6 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] +[assembly: AssemblyVersion("0.3.0.0")] +[assembly: AssemblyFileVersion("0.3.0.0")] diff --git a/README.md b/README.md index 50b287b4..a306a6c9 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ You'll see a web page created - that is currently just a skeleton provided by AS A request to the first URL using Fiddler should have the following response: -![](doc/stockquote.png) +![](https://raw.githubusercontent.com/OSLC/oslc4net/master/doc/stockquote.png) ## More information on OSLC