Skip to content

Commit

Permalink
[Update] Versions updated for 6.3.0 release
Browse files Browse the repository at this point in the history
[Added] release script
  • Loading branch information
a.vorobiev committed Nov 5, 2020
1 parent c1c3904 commit 1d8585f
Show file tree
Hide file tree
Showing 9 changed files with 67 additions and 21 deletions.
12 changes: 4 additions & 8 deletions CDP4Common/CDP4Common.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<TargetFrameworks>net45;net451;net452;net46;net461;net462;net47;net471;net472;net48;netstandard1.6;netstandard2.0;netstandard2.1;netcoreapp3.1</TargetFrameworks>
<Company>RHEA System S.A.</Company>
<Title>CDP4Common Community Edition</Title>
<VersionPrefix>6.2.1</VersionPrefix>
<VersionPrefix>6.3.0</VersionPrefix>
<Description>CDP4 Common Class Library that contains DTOs, POCOs</Description>
<Copyright>Copyright © RHEA System S.A.</Copyright>
<Authors>Sam, Merlin, Alex, Naron, Alexander, Yevhen, Nathaniel, Kamil</Authors>
Expand All @@ -19,13 +19,9 @@
<PackageTags>CDP CDP4 ECSS-E-TM-10-25</PackageTags>
<PackageLicenseExpression>LGPL-3.0-only</PackageLicenseExpression>
<PackageReleaseNotes>
[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
</PackageReleaseNotes>
[Refactor] IsMemberOfCategory improved; fixes #138
[Added] QueryReferencedThings and QueryReferencedThingsDeep for all Things; fixes #142
</PackageReleaseNotes>
</PropertyGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion CDP4Dal/CDP4Dal.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<TargetFrameworks>net45;net451;net452;net46;net461;net462;net47;net471;net472;net48;netstandard2.0;netstandard2.1;netcoreapp3.1</TargetFrameworks>
<Company>RHEA System S.A.</Company>
<Title>CDP4Dal Community Edition</Title>
<VersionPrefix>6.2.2</VersionPrefix>
<VersionPrefix>6.3.0</VersionPrefix>
<Description>CDP4 Data Access Layer library, a consumer of an ECSS-E-TM-10-25 Annex C API</Description>
<Copyright>Copyright © RHEA System S.A.</Copyright>
<Authors>Sam, Merlin, Alex, Naron, Alexander, Yevhen, Nathaniel, Kamil</Authors>
Expand Down
4 changes: 2 additions & 2 deletions CDP4JsonFileDal/CDP4JsonFileDal.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<TargetFrameworks>net45;net451;net452;net46;net461;net462;net47;net471;net472;net48;netstandard2.0;netstandard2.1;netcoreapp3.1</TargetFrameworks>
<Company>RHEA System S.A.</Company>
<Title>CDP4JsonFileDal Community Edition</Title>
<VersionPrefix>6.2.2</VersionPrefix>
<VersionPrefix>6.3.0</VersionPrefix>
<Description>CDP4 Json File Dal Plugin</Description>
<Copyright>Copyright © RHEA System S.A.</Copyright>
<Authors>Sam, Merlin, Alex, Naron, Alexander, Yevhen, Nathaniel, Kamil</Authors>
Expand All @@ -19,7 +19,7 @@
<PackageTags>CDP CDP4 ECSS-E-TM-10-25</PackageTags>
<PackageLicenseExpression>LGPL-3.0-only</PackageLicenseExpression>
<PackageReleaseNotes>
[Update] to CDP4Dal 6.2.2
[Update] to CDP4Dal 6.3.0
</PackageReleaseNotes>
</PropertyGroup>

Expand Down
4 changes: 2 additions & 2 deletions CDP4JsonSerializer/CDP4JsonSerializer.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<TargetFrameworks>net45;net451;net452;net46;net461;net462;net47;net471;net472;net48;netstandard1.6;netstandard2.0;netstandard2.1;netcoreapp3.1</TargetFrameworks>
<Company>RHEA System S.A.</Company>
<Title>CDP4JsonSerializer Community Edition</Title>
<VersionPrefix>6.2.0</VersionPrefix>
<VersionPrefix>6.3.0</VersionPrefix>
<Description>CDP4 JSON Serialization Library</Description>
<Copyright>Copyright © RHEA System S.A.</Copyright>
<Authors>Sam, Merlin, Alex, Naron, Alexander, Yevhen, Nathaniel, Kamil</Authors>
Expand All @@ -19,7 +19,7 @@
<PackageTags>CDP CDP4 ECSS-E-TM-10-25 JSON</PackageTags>
<PackageLicenseExpression>LGPL-3.0-only</PackageLicenseExpression>
<PackageReleaseNotes>
[Update] to CDP4Common 6.2.0
[Update] to CDP4Common 6.3.0
</PackageReleaseNotes>
</PropertyGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<TargetFrameworks>net45;net451;net452;net46;net461;net462;net47;net471;net472;net48;netstandard2.0;netstandard2.1;netcoreapp3.1</TargetFrameworks>
<Company>RHEA System S.A.</Company>
<Title>CDP4RequirementsVerification Community Edition</Title>
<VersionPrefix>0.4.0</VersionPrefix>
<VersionPrefix>0.5.0</VersionPrefix>
<Description>CDP4 Class Library that provides requirement verification</Description>
<Copyright>Copyright © RHEA System S.A.</Copyright>
<Authors>Sam, Alex, Alexander, Yevhen, Nathaniel, Kamil</Authors>
Expand All @@ -19,7 +19,7 @@
<PackageTags>CDP CDP4 ECSS-E-TM-10-25</PackageTags>
<PackageLicenseExpression>LGPL-3.0-only</PackageLicenseExpression>
<PackageReleaseNotes>
[Update] to CDP4Common 6.2.0
[Update] to CDP4Common 6.3.0
</PackageReleaseNotes>
</PropertyGroup>

Expand Down
4 changes: 2 additions & 2 deletions CDP4Rules/CDP4Rules.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<TargetFrameworks>net45;net451;net452;net46;net461;net462;net47;net471;net472;net48;netstandard2.0;netstandard2.1;netcoreapp3.1</TargetFrameworks>
<Company>RHEA System S.A.</Company>
<Title>CDP4Rules Community Edition</Title>
<VersionPrefix>6.2.0</VersionPrefix>
<VersionPrefix>6.3.0</VersionPrefix>
<Description>CDP4 Class Library that provides Model Analysis and Rule Checking</Description>
<Copyright>Copyright © RHEA System S.A.</Copyright>
<Authors>Sam, Merlin, Alex, Naron, Alexander, Yevhen, Nathaniel, Kamil</Authors>
Expand All @@ -19,7 +19,7 @@
<PackageTags>CDP CDP4 ECSS-E-TM-10-25</PackageTags>
<PackageLicenseExpression>LGPL-3.0-only</PackageLicenseExpression>
<PackageReleaseNotes>
[Update] to CDP4Common 6.2.0
[Update] to CDP4Common 6.3.0
</PackageReleaseNotes>
</PropertyGroup>

Expand Down
4 changes: 2 additions & 2 deletions CDP4ServicesDal/CDP4ServicesDal.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<TargetFrameworks>net45;net451;net452;net46;net461;net462;net47;net471;net472;net48;netstandard2.0;netstandard2.1;netcoreapp3.1</TargetFrameworks>
<Company>RHEA System S.A.</Company>
<Title>CDP4ServicesDal Community Edition</Title>
<VersionPrefix>6.2.2</VersionPrefix>
<VersionPrefix>6.3.0</VersionPrefix>
<Description>CDP4ServicesDal Dal Plugin</Description>
<Copyright>Copyright © RHEA System S.A.</Copyright>
<Authors>Sam, Merlin, Alex, Naron, Alexander, Yevhen, Nathaniel, Kamil</Authors>
Expand All @@ -19,7 +19,7 @@
<PackageTags>CDP CDP4 ECSS-E-TM-10-25</PackageTags>
<PackageLicenseExpression>LGPL-3.0-only</PackageLicenseExpression>
<PackageReleaseNotes>
[Update] to CDP4Dal 6.2.2
[Update] to CDP4Dal 6.3.0
[Fix] Uri handling
</PackageReleaseNotes>
</PropertyGroup>
Expand Down
4 changes: 2 additions & 2 deletions CDP4WspDal/CDP4WspDal.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<TargetFrameworks>net45;net451;net452;net46;net461;net462;net47;net471;net472;net48;netstandard2.0;netstandard2.1;netcoreapp3.1</TargetFrameworks>
<Company>RHEA System S.A.</Company>
<Title>CDP4WspDal Community Edition</Title>
<VersionPrefix>6.2.2</VersionPrefix>
<VersionPrefix>6.3.0</VersionPrefix>
<Description>CDP4 WSP Dal Plugin</Description>
<Copyright>Copyright © RHEA System S.A.</Copyright>
<Authors>Sam, Merlin, Alex, Naron, Alexander, Yevhen, Nathaniel, Kamil</Authors>
Expand All @@ -19,7 +19,7 @@
<PackageTags>CDP CDP4 ECSS-E-TM-10-25</PackageTags>
<PackageLicenseExpression>LGPL-3.0-only</PackageLicenseExpression>
<PackageReleaseNotes>
[Update] to CDP4Dal 6.2.2
[Update] to CDP4Dal 6.3.0
[Fix] Uri handling
</PackageReleaseNotes>
</PropertyGroup>
Expand Down
50 changes: 50 additions & 0 deletions release.bat
Original file line number Diff line number Diff line change
@@ -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.

0 comments on commit 1d8585f

Please sign in to comment.