Skip to content

Commit

Permalink
update nuget generation and push (#114)
Browse files Browse the repository at this point in the history
  • Loading branch information
bbtbir authored Jan 9, 2023
1 parent 5e5b853 commit 850ec15
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
uses: NuGet/setup-nuget@v1

- name: Package NuGet
run: nuget pack **\*.nuspec
run: nuget pack ../nuspec/nuget/*.nuspec

- name: Publish NuGet
run: nuget push **\*.nupkg -Source 'https://api.nuget.org/v3/index.json' -ApiKey ${{secrets.NUGETORG}}
run: nuget push ./*.nupkg -Source 'https://api.nuget.org/v3/index.json' -ApiKey ${{secrets.NUGETORG}}
11 changes: 6 additions & 5 deletions nuspec/nuget/TfsUrlParser.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,24 @@
<metadata xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<id>TfsUrlParser</id>
<title>Azure DevOps URL Parser</title>
<version>1.4.0</version>
<version>1.4.1</version>
<authors>BBT Software AG</authors>
<owners>bbtsoftware, pascalberger</owners>
<summary>Provides a parser for Azure DevOps and Azure DevOps Server URLs.</summary>
<description>Provides a parser to get repository information from an Azure DevOps and Azure DevOps Server URLs.</description>
<license type="expression">MIT</license>
<projectUrl>https://github.com/bbtsoftware/TfsUrlParser/</projectUrl>
<iconUrl>https://raw.githubusercontent.com/bbtsoftware/TfsUrlParser/fdaa354eef80c05070c93ef14b6774abe7eeac73/nuspec/nuget/icon.png</iconUrl>
<iconUrl>
https://raw.githubusercontent.com/bbtsoftware/TfsUrlParser/fdaa354eef80c05070c93ef14b6774abe7eeac73/nuspec/nuget/icon.png</iconUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<repository type="git" url="https://github.com/bbtsoftware/TfsUrlParser"/>
<repository type="git" url="https://github.com/bbtsoftware/TfsUrlParser" />
<copyright>Copyright © BBT Software AG</copyright>
<tags>AzureDevOps Git Parser</tags>
<releaseNotes>https://github.com/bbtsoftware/TfsUrlParser/releases/tag/1.4.0</releaseNotes>
<releaseNotes>https://github.com/bbtsoftware/TfsUrlParser/releases/tag/1.4.1</releaseNotes>
</metadata>
<files>
<file src="..\..\src\TfsUrlParser\bin\Release\netstandard2.0\TfsUrlParser.dll" target="lib\netstandard2.0" />
<file src="..\..\src\TfsUrlParser\bin\Release\netstandard2.0\TfsUrlParser.pdb" target="lib\netstandard2.0" />
<file src="..\..\src\TfsUrlParser\bin\Release\netstandard2.0\TfsUrlParser.xml" target="lib\netstandard2.0" />
</files>
</package>
</package>

0 comments on commit 850ec15

Please sign in to comment.