From 1d8585fd00e7ab60f89b7c8c0800eee48f340be2 Mon Sep 17 00:00:00 2001 From: "a.vorobiev" Date: Thu, 5 Nov 2020 17:22:52 +0100 Subject: [PATCH] [Update] Versions updated for 6.3.0 release [Added] release script --- CDP4Common/CDP4Common.csproj | 12 ++--- CDP4Dal/CDP4Dal.csproj | 2 +- CDP4JsonFileDal/CDP4JsonFileDal.csproj | 4 +- CDP4JsonSerializer/CDP4JsonSerializer.csproj | 4 +- .../CDP4RequirementsVerification.csproj | 4 +- CDP4Rules/CDP4Rules.csproj | 4 +- CDP4ServicesDal/CDP4ServicesDal.csproj | 4 +- CDP4WspDal/CDP4WspDal.csproj | 4 +- release.bat | 50 +++++++++++++++++++ 9 files changed, 67 insertions(+), 21 deletions(-) create mode 100644 release.bat diff --git a/CDP4Common/CDP4Common.csproj b/CDP4Common/CDP4Common.csproj index f277496ce..b60e777df 100644 --- a/CDP4Common/CDP4Common.csproj +++ b/CDP4Common/CDP4Common.csproj @@ -4,7 +4,7 @@ net45;net451;net452;net46;net461;net462;net47;net471;net472;net48;netstandard1.6;netstandard2.0;netstandard2.1;netcoreapp3.1 RHEA System S.A. CDP4Common Community Edition - 6.2.1 + 6.3.0 CDP4 Common Class Library that contains DTOs, POCOs Copyright © RHEA System S.A. Sam, Merlin, Alex, Naron, Alexander, Yevhen, Nathaniel, Kamil @@ -19,13 +19,9 @@ CDP CDP4 ECSS-E-TM-10-25 LGPL-3.0-only - [Refactor] FileRevision.GetDerivedPath(); fixes #118 - [Refactor] Option.IsDefault; fixes #119 - [Add] Option.GetNestedParameterValuesByPath; extend NestedElementTreeGenerator fixes #134 - [Add] ValueSetConverter.TryParseDouble - [Add] NestedElement convenience methods; fixes #130 - [Add] net48 and netstandard2.1 as target monikers; fixes #121 - + [Refactor] IsMemberOfCategory improved; fixes #138 + [Added] QueryReferencedThings and QueryReferencedThingsDeep for all Things; fixes #142 + diff --git a/CDP4Dal/CDP4Dal.csproj b/CDP4Dal/CDP4Dal.csproj index 09853c542..c5adde8f2 100644 --- a/CDP4Dal/CDP4Dal.csproj +++ b/CDP4Dal/CDP4Dal.csproj @@ -4,7 +4,7 @@ net45;net451;net452;net46;net461;net462;net47;net471;net472;net48;netstandard2.0;netstandard2.1;netcoreapp3.1 RHEA System S.A. CDP4Dal Community Edition - 6.2.2 + 6.3.0 CDP4 Data Access Layer library, a consumer of an ECSS-E-TM-10-25 Annex C API Copyright © RHEA System S.A. Sam, Merlin, Alex, Naron, Alexander, Yevhen, Nathaniel, Kamil diff --git a/CDP4JsonFileDal/CDP4JsonFileDal.csproj b/CDP4JsonFileDal/CDP4JsonFileDal.csproj index 7b512d393..5ce2f52eb 100644 --- a/CDP4JsonFileDal/CDP4JsonFileDal.csproj +++ b/CDP4JsonFileDal/CDP4JsonFileDal.csproj @@ -4,7 +4,7 @@ net45;net451;net452;net46;net461;net462;net47;net471;net472;net48;netstandard2.0;netstandard2.1;netcoreapp3.1 RHEA System S.A. CDP4JsonFileDal Community Edition - 6.2.2 + 6.3.0 CDP4 Json File Dal Plugin Copyright © RHEA System S.A. Sam, Merlin, Alex, Naron, Alexander, Yevhen, Nathaniel, Kamil @@ -19,7 +19,7 @@ CDP CDP4 ECSS-E-TM-10-25 LGPL-3.0-only - [Update] to CDP4Dal 6.2.2 + [Update] to CDP4Dal 6.3.0 diff --git a/CDP4JsonSerializer/CDP4JsonSerializer.csproj b/CDP4JsonSerializer/CDP4JsonSerializer.csproj index 4477e3b3a..1875df60d 100644 --- a/CDP4JsonSerializer/CDP4JsonSerializer.csproj +++ b/CDP4JsonSerializer/CDP4JsonSerializer.csproj @@ -4,7 +4,7 @@ net45;net451;net452;net46;net461;net462;net47;net471;net472;net48;netstandard1.6;netstandard2.0;netstandard2.1;netcoreapp3.1 RHEA System S.A. CDP4JsonSerializer Community Edition - 6.2.0 + 6.3.0 CDP4 JSON Serialization Library Copyright © RHEA System S.A. Sam, Merlin, Alex, Naron, Alexander, Yevhen, Nathaniel, Kamil @@ -19,7 +19,7 @@ CDP CDP4 ECSS-E-TM-10-25 JSON LGPL-3.0-only - [Update] to CDP4Common 6.2.0 + [Update] to CDP4Common 6.3.0 diff --git a/CDP4RequirementsVerification/CDP4RequirementsVerification.csproj b/CDP4RequirementsVerification/CDP4RequirementsVerification.csproj index 99775356d..278964f0a 100644 --- a/CDP4RequirementsVerification/CDP4RequirementsVerification.csproj +++ b/CDP4RequirementsVerification/CDP4RequirementsVerification.csproj @@ -4,7 +4,7 @@ net45;net451;net452;net46;net461;net462;net47;net471;net472;net48;netstandard2.0;netstandard2.1;netcoreapp3.1 RHEA System S.A. CDP4RequirementsVerification Community Edition - 0.4.0 + 0.5.0 CDP4 Class Library that provides requirement verification Copyright © RHEA System S.A. Sam, Alex, Alexander, Yevhen, Nathaniel, Kamil @@ -19,7 +19,7 @@ CDP CDP4 ECSS-E-TM-10-25 LGPL-3.0-only - [Update] to CDP4Common 6.2.0 + [Update] to CDP4Common 6.3.0 diff --git a/CDP4Rules/CDP4Rules.csproj b/CDP4Rules/CDP4Rules.csproj index c5e04582a..7e25289fe 100644 --- a/CDP4Rules/CDP4Rules.csproj +++ b/CDP4Rules/CDP4Rules.csproj @@ -4,7 +4,7 @@ net45;net451;net452;net46;net461;net462;net47;net471;net472;net48;netstandard2.0;netstandard2.1;netcoreapp3.1 RHEA System S.A. CDP4Rules Community Edition - 6.2.0 + 6.3.0 CDP4 Class Library that provides Model Analysis and Rule Checking Copyright © RHEA System S.A. Sam, Merlin, Alex, Naron, Alexander, Yevhen, Nathaniel, Kamil @@ -19,7 +19,7 @@ CDP CDP4 ECSS-E-TM-10-25 LGPL-3.0-only - [Update] to CDP4Common 6.2.0 + [Update] to CDP4Common 6.3.0 diff --git a/CDP4ServicesDal/CDP4ServicesDal.csproj b/CDP4ServicesDal/CDP4ServicesDal.csproj index 12d2b498e..4cb5f24dc 100644 --- a/CDP4ServicesDal/CDP4ServicesDal.csproj +++ b/CDP4ServicesDal/CDP4ServicesDal.csproj @@ -4,7 +4,7 @@ net45;net451;net452;net46;net461;net462;net47;net471;net472;net48;netstandard2.0;netstandard2.1;netcoreapp3.1 RHEA System S.A. CDP4ServicesDal Community Edition - 6.2.2 + 6.3.0 CDP4ServicesDal Dal Plugin Copyright © RHEA System S.A. Sam, Merlin, Alex, Naron, Alexander, Yevhen, Nathaniel, Kamil @@ -19,7 +19,7 @@ CDP CDP4 ECSS-E-TM-10-25 LGPL-3.0-only - [Update] to CDP4Dal 6.2.2 + [Update] to CDP4Dal 6.3.0 [Fix] Uri handling diff --git a/CDP4WspDal/CDP4WspDal.csproj b/CDP4WspDal/CDP4WspDal.csproj index 5ccdb8bc9..6db918b67 100644 --- a/CDP4WspDal/CDP4WspDal.csproj +++ b/CDP4WspDal/CDP4WspDal.csproj @@ -4,7 +4,7 @@ net45;net451;net452;net46;net461;net462;net47;net471;net472;net48;netstandard2.0;netstandard2.1;netcoreapp3.1 RHEA System S.A. CDP4WspDal Community Edition - 6.2.2 + 6.3.0 CDP4 WSP Dal Plugin Copyright © RHEA System S.A. Sam, Merlin, Alex, Naron, Alexander, Yevhen, Nathaniel, Kamil @@ -19,7 +19,7 @@ CDP CDP4 ECSS-E-TM-10-25 LGPL-3.0-only - [Update] to CDP4Dal 6.2.2 + [Update] to CDP4Dal 6.3.0 [Fix] Uri handling diff --git a/release.bat b/release.bat new file mode 100644 index 000000000..e931f095b --- /dev/null +++ b/release.bat @@ -0,0 +1,50 @@ +@echo off + +IF %1.==. GOTO KeyError +set apikey=%1 + +GOTO Begin + +:KeyError +ECHO. +ECHO ERROR: No apikey was specified +ECHO. + +GOTO End + +:Begin + +ECHO. +ECHO Cleaning up... +ECHO. + +IF EXIST "%~dp0\ReleaseBuilds" ( + rmdir "%~dp0\ReleaseBuilds" /s /q +) + +mkdir "%~dp0\ReleaseBuilds" + +rem Cleaning Builds... +dotnet clean -c Release CDP4-SDK.sln + +ECHO. +ECHO Packing nugets... +ECHO. + +rem Packing New Versions... +dotnet pack -c Release -o ReleaseBuilds CDP4-SDK.sln + +ECHO. +ECHO Pushing to nuget.org ... +ECHO. + +for %%f in (%~dp0\ReleaseBuilds\*.nupkg) do ( + echo Pushing %%f + nuget push %%f -Source https://api.nuget.org/v3/index.json -ApiKey %apikey% +) + +:End + +ECHO. +ECHO Release Completed +ECHO. \ No newline at end of file