Skip to content

Commit

Permalink
chore: Prepare release
Browse files Browse the repository at this point in the history
* Add build scripts
* Prepare release v2.0.0
  • Loading branch information
PulsarBlow committed Apr 23, 2020
1 parent f745eb4 commit f04c7d3
Show file tree
Hide file tree
Showing 12 changed files with 112 additions and 21 deletions.
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,23 @@

SuperMassive is a small condensed libraries of reusable .NET components and utility classes.

## Libraries
> You are reading v2.x documentation. Looking for [v1.x documentation](https://github.com/PulsarBlow/SuperMassive/blob/master/doc/v1/README.md) ?
* **SuperMassive** : Core features - SuperMassive swiss army knife!
* **SuperMassive.ExceptionHandling** : Exception handling as it should be.
* **SuperMassive.ExceptionHandling.Logging** : Exception handling with logging features.
* **SuperMassive.Fakers** : A suit of data fakers to feed your hungry unit tests with "almost" real data.
* **SuperMassive.Logging** : A set of abstract and base logging components
* **SuperMassive.Logging.AzureTable** : A concrete implementation of the logging facade for Azure Table
## Libraries

* **SuperMassive** : Core features - SuperMassive swiss army knife!
* **SuperMassive.ExceptionHandling** : Exception handling as it should be.
* **SuperMassive.ExceptionHandling.Logging** : Exception handling with logging features.
* **SuperMassive.Fakers** : A suit of data fakers to feed your hungry unit tests with "almost" real data.
* **SuperMassive.Logging** : A set of abstract and base logging components
* **SuperMassive.Logging.AzureTable** : A concrete implementation of the logging facade for Azure Table

## Use them

These library are published as nuget packages on [nuget.org](https://www.nuget.org/packages?q=supermassive)

Pick what you want, eg. :


```bash
$ dotnet add SuperMassive
```
Expand All @@ -49,4 +49,4 @@ Test coverge results are collected using [Coverlet](https://github.com/tonerdo/c

## Licence

http://opensource.org/licenses/MIT
<http://opensource.org/licenses/MIT>
13 changes: 13 additions & 0 deletions build/pack.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/bin/sh

echo "=== INITIALIZING ==="
export GIT_COMMIT=$(git rev-parse HEAD)
export GIT_BRANCH=$(git rev-parse --abbrev-ref HEAD)
echo "GIT_COMMIT=$GIT_COMMIT"
echo "GIT_BRANCH=$GIT_BRANCH"
echo ""

echo "=== PACKING ==="
rm -rf .build/nuget
dotnet pack -o .build/nuget --include-symbols -c Release --no-restore -p:RepositoryBranch=$GIT_BRANCH -p:RepositoryCommit=$GIT_COMMIT
echo ""
6 changes: 6 additions & 0 deletions build/push.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/sh

echo "=== PUSHING ==="
dotnet nuget push .build/nuget/**/*.nupkg -k $NUGET_TOKEN -sk $NUGET_TOKEN --skip-duplicate -s https://api.nuget.org/v3/index.json
dotnet nuget push .build/nuget/**/*.snupkg -k $NUGET_TOKEN -sk $NUGET_TOKEN --skip-duplicate
echo ""
41 changes: 41 additions & 0 deletions doc/v1/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
[![GitHub version](https://badge.fury.io/gh/PulsarBlow%2Fsupermassive.svg)](https://github.com/PulsarBlow/SuperMassive/releases/latest) [![NuGet Downloads](https://img.shields.io/nuget/dt/SuperMassive.svg)](https://www.nuget.org/packages/supermassive)

# SuperMassive

![SuperMassive Logo](https://github.com/PulsarBlow/SuperMassive/blob/master/supermassive.png)

SuperMassive is a small condensed library of reusable .NET Core components and utility classes.

### Projects descriptions

* **SuperMassive** : Core features - SuperMassive swiss army knife!
* **SuperMassive.ExceptionHandling** : Exception handling as it should be.
* **SuperMassive.ExceptionHandling.Logging** : Exception handling with logging features.
* **SuperMassive.Fakers** : A suit of data fakers to feed your hungry unit tests with "almost" real data.
* **SuperMassive.Logging** : A set of abstract and base logging components
* **SuperMassive.Logging.AzureTable** : A concrete implementation of the logging facade for Azure Table


### Installation

Pick the features you want by installing the corresponding NuGet package :


```Ìnstall-Package SuperMassive```
```Ìnstall-Package SuperMassive.ExceptionHandling```
```Ìnstall-Package SuperMassive.ExceptionHandling.Logging```
```Ìnstall-Package SuperMassive.Fakers```
```Ìnstall-Package SuperMassive.Logging```
```Ìnstall-Package SuperMassive.Logging.AzureTable```
etc..

If you want the prerelease nugets, dont forget to select *Include prerelease* in the nuget manager window or add ```-Pre``` to your Install Package command.

### Build & Tests

Just download the sources and run the test with Visual Studio Test Explorer.


#### Licence

http://opensource.org/licenses/MIT
12 changes: 9 additions & 3 deletions props/package.props
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,19 @@
<Company>pulsarblow.dev</Company>
<Copyright>© 2015 Alain Mereaux</Copyright>
<Description>SuperMassive is a small condensed framework of reusable .NET components and utility classes. It's your supermassive .NET swiss army knife.</Description>
<PackageLicenseUrl>https://raw.github.com/PulsarBlow/SuperMassive/master/LICENCE</PackageLicenseUrl>
<PackageLicenseFile>LICENCE</PackageLicenseFile>
<PackageProjectUrl>https://github.com/PulsarBlow/SuperMassive</PackageProjectUrl>
<PackageIconUrl>https://raw.githubusercontent.com/PulsarBlow/SuperMassive/master/supermassive.png</PackageIconUrl>
<RepositoryUrl>https://raw.githubusercontent.com/PulsarBlow/SuperMassive</RepositoryUrl>
<PackageIcon>supermassive.png</PackageIcon>
<RepositoryUrl>https://github.com/PulsarBlow/SuperMassive</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
</PropertyGroup>

<ItemGroup>
<None Include="../../supermassive.png" Pack="true" PackagePath=""/>
<None Include="../../LICENCE" Pack="true" PackagePath=""/>
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion props/version.props
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<VersionPrefix>2.0.0</VersionPrefix>
<VersionSuffix>alpha1</VersionSuffix>
<VersionSuffix></VersionSuffix>
<VersionSuffix Condition=" '$(VersionSuffix)' != '' AND '$(BuildNumber)' != '' ">$(VersionSuffix).$(BuildNumber)</VersionSuffix>
</PropertyGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,13 @@

<PropertyGroup>
<Title>Your supermassive swiss army knife</Title>
<PackageTags>supermassive;exception;handling;exceptionhandling;logging</PackageTags>
<PackageReleaseNotes/>
<Summary>SuperMassive exception handling with logging. Plug logging features to your exception handling pipeline.</Summary>
<PackageTags>supermassive;exception;handling;exceptionhandling;logging</PackageTags>
<PackageReleaseNotes>
v2.0: .NET Core 3.1
* Migrate library to .NET Core 3.1
* Refactoring and clean up
</PackageReleaseNotes>
</PropertyGroup>
<ItemGroup>
<Compile Update="Properties\Resources.Designer.cs">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@
<Title>Your supermassive swiss army knife</Title>
<Summary>SuperMassive Exception Handling. Handle your application exceptions like a pro.</Summary>
<PackageTags>supermassive;exception;hanling;exceptionhandling;errors;abstraction</PackageTags>
<PackageReleaseNotes />
<PackageReleaseNotes>
v2.0: .NET Core 3.1
* Migrate library to .NET Core 3.1
* Refactoring and clean up
</PackageReleaseNotes>
</PropertyGroup>

<ItemGroup>
Expand Down
6 changes: 5 additions & 1 deletion src/SuperMassive.Fakers/SuperMassive.Fakers.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@
<Title>Your supermassive swiss army knife</Title>
<Summary>SuperMassive fake data generators. Feed your hungry tests with real looking data.</Summary>
<PackageTags>supermassive;faker;data;generator;testing;testdata</PackageTags>
<PackageReleaseNotes/>
<PackageReleaseNotes>
v2.0: .NET Core 3.1
* Migrate library to .NET Core 3.1
* Refactoring and clean up
</PackageReleaseNotes>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,13 @@

<PropertyGroup>
<Title>Your supermassive swiss army knife</Title>
<PackageTags>supermassive;logging;trace;azure;cloudtable</PackageTags>
<PackageReleaseNotes />
<Summary>SuperMassive logging to Microsoft Azure Table Storage. Concrete logging implementation.</Summary>
<PackageTags>supermassive;logging;trace;azure;cloudtable</PackageTags>
<PackageReleaseNotes>
v2.0: .NET Core 3.1
* Migrate library to .NET Core 3.1
* Refactoring and clean up
</PackageReleaseNotes>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="WindowsAzure.Storage" Version="8.1.1" />
Expand Down
6 changes: 5 additions & 1 deletion src/SuperMassive.Logging/SuperMassive.Logging.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@
<Title>Your supermassive swiss army knife</Title>
<Summary>SuperMassive logging abstractions. A solid foundation on which to build your logging infrastructure.</Summary>
<PackageTags>SuperMassive Logging Abstraction TraceListener Formatter</PackageTags>
<PackageReleaseNotes />
<PackageReleaseNotes>
v2.0: .NET Core 3.1
* Migrate library to .NET Core 3.1
* Refactoring and clean up
</PackageReleaseNotes>
</PropertyGroup>
<ItemGroup>
<Compile Update="Properties\Resources.Designer.cs">
Expand Down
7 changes: 6 additions & 1 deletion src/SuperMassive/SuperMassive.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,12 @@
<Title>Your supermassive swiss army knife</Title>
<Summary>SuperMassive Core features. Stripped to their bare minimum.</Summary>
<PackageTags>supermassive;helpers;extensions;converters;crypto</PackageTags>
<PackageReleaseNotes />
<PackageReleaseNotes>
v2.0: .NET Core 3.1
* Migrate library to .NET Core 3.1
* Introduce Nullable Reference types
* Refactoring and clean up
</PackageReleaseNotes>
</PropertyGroup>
<ItemGroup>
<Compile Update="Properties\Resources.Designer.cs">
Expand Down

0 comments on commit f04c7d3

Please sign in to comment.