Skip to content

Commit 5324440

Browse files
committed
update nuget publish command
1 parent 8665b17 commit 5324440

File tree

8 files changed

+16
-10
lines changed

8 files changed

+16
-10
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88

99
env:
1010
dotnet: 6.0.201
11-
version: 1.9.1
11+
version: 1.9.2
1212
key: dein:toolbox
1313
organization: dein
1414
name: ToolBox

.github/workflows/pack.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66

77
env:
88
dotnet: 6.0.201
9-
version: 1.9.1
9+
version: 1.9.2
1010

1111
jobs:
1212
pack:
@@ -23,9 +23,9 @@ jobs:
2323
- name: create file
2424
run: dotnet pack ToolBox/ToolBox.csproj /p:NuspecFile=${{ github.workspace }}/ToolBox/ToolBox.nuspec -o ${{ github.workspace }}/Package/ -c release
2525
- name: publish nuget on microsoft
26-
run: dotnet nuget push "${{ github.workspace }}/Package/dein.ToolBox.${{ env.version }}.nupkg" -k ${{ secrets.NUGET_TOKEN }} -s "nuget" --skip-duplicate --no-symbols true
26+
run: dotnet nuget push "${{ github.workspace }}/Package/dein.ToolBox.${{ env.version }}.nupkg" -k ${{ secrets.NUGET_TOKEN }} -s "nuget" --skip-duplicate --no-symbols
2727
- name: publish nuget on github
28-
run: dotnet nuget push "${{ github.workspace }}/Package/dein.ToolBox.${{ env.version }}.nupkg" -s "github" --skip-duplicate --no-symbols true
28+
run: dotnet nuget push "${{ github.workspace }}/Package/dein.ToolBox.${{ env.version }}.nupkg" -s "github" --skip-duplicate --no-symbols
2929

3030
tweet:
3131
needs: pack

CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,13 @@ Fixed for any bug fixes.
99
Security to invite users to upgrade in case of vulnerabilities.
1010
-->
1111

12-
## [1.9.1] - 2022-05-19
12+
## [1.9.2] - 2022-05-19
13+
14+
**Fixed:**
15+
16+
- Support with dotnet 6 publish NuGet commands
17+
18+
## [1.9.2] - 2022-05-19
1319

1420
**Changed:**
1521

Sample/Sample.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<ItemGroup>
33
<PackageReference Include="dein.Colorify" Version="2.7.0" />
4-
<PackageReference Include="dein.ToolBox" Version="1.9.1" />
4+
<PackageReference Include="dein.ToolBox" Version="1.9.2" />
55
</ItemGroup>
66
<PropertyGroup>
77
<OutputType>Exe</OutputType>

ToolBox/ToolBox.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<PropertyGroup>
33
<AssemblyName>ToolBox</AssemblyName>
44
<PackageId>ToolBox</PackageId>
5-
<VersionPrefix>1.9.1</VersionPrefix>
5+
<VersionPrefix>1.9.2</VersionPrefix>
66
<ProjectGuid>{cc239282-2799-4be9-a88f-aa8b744b533d}</ProjectGuid>
77

88
<Authors>Camilo Martinez</Authors>

ToolBox/ToolBox.nuspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<package >
33
<metadata>
44
<id>dein.ToolBox</id>
5-
<version>1.9.1</version>
5+
<version>1.9.2</version>
66
<title>dein ToolBox</title>
77
<authors>Camilo Martinez</authors>
88
<owners>dein,equiman</owners>

sonar.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
@echo off
22
set /p token=<sonar.txt
33
:: https://docs.sonarqube.org/display/SONAR/Analysis+Parameters
4-
dotnet sonarscanner begin /k:"dein:toolbox" /n:"ToolBox" /v:"1.9.1" /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"
4+
dotnet sonarscanner begin /k:"dein:toolbox" /n:"ToolBox" /v:"1.9.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"
55
dotnet restore
66
dotnet build
77
dotnet test ToolBox.Tests/ToolBox.Tests.csproj /p:CollectCoverage=true /p:CoverletOutputFormat=\"opencover,lcov\" /p:CoverletOutput=../lcov

sonar.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
token="$(cat sonar.txt)"
33
dir="$(pwd)"
44
# https://docs.sonarqube.org/display/SONAR/Analysis+Parameters
5-
dotnet sonarscanner begin /k:"dein:toolbox" /n:"ToolBox" /v:"1.9.1" /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"
5+
dotnet sonarscanner begin /k:"dein:toolbox" /n:"ToolBox" /v:"1.9.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"
66
dotnet restore
77
dotnet build
88
dotnet test ToolBox.Tests/ToolBox.Tests.csproj /p:CollectCoverage=true /p:CoverletOutputFormat=\"opencover,lcov\" /p:CoverletOutput=../lcov

0 commit comments

Comments
 (0)