Skip to content

Commit

Permalink
1.6.3 - Fixed: NuGet permissions on scripts.
Browse files Browse the repository at this point in the history
  • Loading branch information
equiman committed Apr 22, 2020
1 parent a18008f commit d47f911
Show file tree
Hide file tree
Showing 10 changed files with 21 additions and 67 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

env:
dotnet: 3.1.201
version: 1.6.2
version: 1.6.3
key: dein:toolbox
organization: dein
name: ToolBox
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

env:
dotnet: 3.1.201
version: 1.6.2
version: 1.6.3

jobs:
pack:
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ Fixed for any bug fixes.
Security to invite users to upgrade in case of vulnerabilities.
-->

## [1.6.3] - 2020-04-22

**Fixed:**

- NuGet permissions on scripts.

## [1.6.0] - 2020-04-19

**Updated:**
Expand Down
2 changes: 1 addition & 1 deletion Sample/Sample.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<ItemGroup>
<PackageReference Include="dein.Colorify" Version="2.5.0" />
<PackageReference Include="dein.ToolBox" Version="1.6.2" />
<PackageReference Include="dein.ToolBox" Version="1.6.3" />
<PackageReference Include="Newtonsoft.Json" Version="12.0.3" />
</ItemGroup>
<PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion Sample/sonar.bat
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@echo off
set /p token=<sonar.txt
:: https://docs.sonarqube.org/display/SONAR/Analysis+Parameters
dotnet sonarscanner begin /k:"dein:toolbox" /n:"ToolBox" /v:"1.6.2" /o:"dein" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.login="%token%" /d:sonar.language="cs" /d:sonar.exclusions="**/bin/**/*,**/obj/**/*" /d:sonar.coverage.exclusions="ToolBox.Tests/**,**/*Tests.cs" /d:sonar.cs.opencover.reportsPaths="%cd%\lcov.opencover.xml"
dotnet sonarscanner begin /k:"dein:toolbox" /n:"ToolBox" /v:"1.6.3" /o:"dein" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.login="%token%" /d:sonar.language="cs" /d:sonar.exclusions="**/bin/**/*,**/obj/**/*" /d:sonar.coverage.exclusions="ToolBox.Tests/**,**/*Tests.cs" /d:sonar.cs.opencover.reportsPaths="%cd%\lcov.opencover.xml"
dotnet restore
dotnet build
dotnet test ToolBox.Tests/ToolBox.Tests.csproj /p:CollectCoverage=true /p:CoverletOutputFormat=\"opencover,lcov\" /p:CoverletOutput=../lcov
Expand Down
2 changes: 1 addition & 1 deletion Sample/sonar.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
token="$(cat sonar.txt)"
dir="$(pwd)"
# https://docs.sonarqube.org/display/SONAR/Analysis+Parameters
dotnet sonarscanner begin /k:"dein:toolbox" /n:"ToolBox" /v:"1.6.2" /o:"dein" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.login="${token}" /d:sonar.language="cs" /d:sonar.exclusions="**/bin/**/*,**/obj/**/*" /d:sonar.cs.opencover.reportsPaths="${dir}/lcov.opencover.xml"
dotnet sonarscanner begin /k:"dein:toolbox" /n:"ToolBox" /v:"1.6.3" /o:"dein" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.login="${token}" /d:sonar.language="cs" /d:sonar.exclusions="**/bin/**/*,**/obj/**/*" /d:sonar.cs.opencover.reportsPaths="${dir}/lcov.opencover.xml"
dotnet restore
dotnet build
dotnet test ToolBox.Tests/ToolBox.Tests.csproj /p:CollectCoverage=true /p:CoverletOutputFormat=\"opencover,lcov\" /p:CoverletOutput=../lcov
Expand Down
2 changes: 1 addition & 1 deletion ToolBox/ToolBox.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<PropertyGroup>
<AssemblyName>ToolBox</AssemblyName>
<PackageId>ToolBox</PackageId>
<VersionPrefix>1.6.2</VersionPrefix>
<VersionPrefix>1.6.3</VersionPrefix>
<ProjectGuid>{cc239282-2799-4be9-a88f-aa8b744b533d}</ProjectGuid>

<Authors>Camilo Martinez</Authors>
Expand Down
66 changes: 7 additions & 59 deletions ToolBox/ToolBox.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package >
<metadata>
<id>dein.ToolBox</id>
<version>1.6.2</version>
<version>1.6.3</version>
<title>dein ToolBox</title>
<authors>Camilo Martinez</authors>
<owners>dein,equiman</owners>
Expand All @@ -12,61 +12,10 @@
<projectUrl>https://github.com/deinsoftware/toolbox</projectUrl>
<repository type="git" url="https://github.com/deinsoftware/toolbox" />
<icon>icon.png</icon>
<description>
# dein ToolBox [ for Win + Mac ]

**ToolBox** was created to simplify and automate tasks related to the .Net Core console. Was born in [HardHat](https://github.com/deinsoftware/hardhat/) project as a Class. Now grew up as a library and can be used by other console applications.

Contributions or Beer will be appreciated

> The Code is Dark and Full of Errors!
> Console is your friend ... don't be afraid!

## Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

### Prerequisites

What things do you need to install?

- [NET Core SDK](https://www.microsoft.com/net/download)

### Installing

**ToolBox** is available as [project](https://github.com/deinsoftware/toolbox/) or [package](https://www.nuget.org/packages/dein.ToolBox). We strongly recommend adding as a NuGet package if you don't need to make modifications directly on the source code library.

Follow these instructions to add **ToolBox** in your project.

#### Dependencies

- [Newtonsoft.Json](https://www.nuget.org/packages/Newtonsoft.Json) Library

#### Add As Package

In your project folder, where is located .csproj file run this command on terminal:

```terminal
dotnet add package dein.ToolBox
dotnet add package Newtonsoft.Json
```

Official documentation: [dotnet add package](https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-add-package)

## Usage

Refer to [README](https://github.com/deinsoftware/toolbox/blob/master/README.md) file on GitHub.

To understand how this library works, take a look inside [Sample](https://github.com/deinsoftware/toolbox/tree/master/Sample) folder. Better easy to use a guide than words.

Just go to `Sample` project folder and run this command on terminal:

```terminal
cd Sample
dotnet run
```
</description>
<releaseNotes>Refer to [CHANGELOG](https://github.com/deinsoftware/colorify/blob/master/CHANGELOG.md) file on GitHub.</releaseNotes>
<description>C# .Net Core Library with utilities like: command line, files, log, platform, shell, system, transform and validation [ Win+Mac+Linux ]</description>
<summary>C# .Net Core Library with utilities like: command line, files, log, platform, shell, system, transform and validation [ Win+Mac+Linux ]</summary>
<documentation src="README.md" />
<releaseNotes>Refer to https://github.com/deinsoftware/colorify/blob/master/CHANGELOG.md on GitHub.</releaseNotes>
<copyright>dein Software © 2017</copyright>
<tags>toolboxes dotnet-core macos windows library csharp toolbox validation-library osdetection command-line</tags>
<language>en-US</language>
Expand All @@ -81,16 +30,15 @@
</dependencies>
<contentFiles>
<files include="any/**/cmd.*" buildAction="None" copyToOutput="true" flatten="true" />
<files include="any/**/LICENSE" buildAction="None" copyToOutput="true" flatten="true" />
</contentFiles>
</metadata>
<files>
<file src="..\icon.png" target="\" />
<file src="..\Package\README.md" target="README.md" />
<file src="bin\release\netcoreapp2.2\T*.dll" target="lib\netcoreapp2.2" />
<file src="bin\release\netcoreapp2.2\T*.pdb" target="lib\netcoreapp2.2" />
<file src="bin\release\netcoreapp3.1\T*.dll" target="lib\netcoreapp3.1" />
<file src="bin\release\netcoreapp3.1\T*.pdb" target="lib\netcoreapp3.1" />
<file src="bin\release\netcoreapp3.1\cmd.*" target="contentFiles\any\any\" />
<file src="..\LICENSE" target="contentFiles\any\any" />
<file src="cmd.*" target="contentFiles\any\any\" />
</files>
</package>
2 changes: 1 addition & 1 deletion sonar.bat
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@echo off
set /p token=<sonar.txt
:: https://docs.sonarqube.org/display/SONAR/Analysis+Parameters
dotnet sonarscanner begin /k:"dein:toolbox" /n:"ToolBox" /v:"1.6.2" /o:"dein" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.login="%token%" /d:sonar.language="cs" /d:sonar.exclusions="**/bin/**/*,**/obj/**/*" /d:sonar.coverage.exclusions="ToolBox.Tests/**,**/*Tests.cs" /d:sonar.cs.opencover.reportsPaths="%cd%\lcov.opencover.xml"
dotnet sonarscanner begin /k:"dein:toolbox" /n:"ToolBox" /v:"1.6.3" /o:"dein" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.login="%token%" /d:sonar.language="cs" /d:sonar.exclusions="**/bin/**/*,**/obj/**/*" /d:sonar.coverage.exclusions="ToolBox.Tests/**,**/*Tests.cs" /d:sonar.cs.opencover.reportsPaths="%cd%\lcov.opencover.xml"
dotnet restore
dotnet build
dotnet test ToolBox.Tests/ToolBox.Tests.csproj /p:CollectCoverage=true /p:CoverletOutputFormat=\"opencover,lcov\" /p:CoverletOutput=../lcov
Expand Down
2 changes: 1 addition & 1 deletion sonar.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
token="$(cat sonar.txt)"
dir="$(pwd)"
# https://docs.sonarqube.org/display/SONAR/Analysis+Parameters
dotnet sonarscanner begin /k:"dein:toolbox" /n:"ToolBox" /v:"1.6.2" /o:"dein" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.login="${token}" /d:sonar.language="cs" /d:sonar.exclusions="**/bin/**/*,**/obj/**/*" /d:sonar.cs.opencover.reportsPaths="${dir}/lcov.opencover.xml"
dotnet sonarscanner begin /k:"dein:toolbox" /n:"ToolBox" /v:"1.6.3" /o:"dein" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.login="${token}" /d:sonar.language="cs" /d:sonar.exclusions="**/bin/**/*,**/obj/**/*" /d:sonar.cs.opencover.reportsPaths="${dir}/lcov.opencover.xml"
dotnet restore
dotnet build
dotnet test ToolBox.Tests/ToolBox.Tests.csproj /p:CollectCoverage=true /p:CoverletOutputFormat=\"opencover,lcov\" /p:CoverletOutput=../lcov
Expand Down

0 comments on commit d47f911

Please sign in to comment.