Skip to content

Commit

Permalink
Release Version (1.x)
Browse files Browse the repository at this point in the history
  • Loading branch information
CKrowiorsch committed Apr 5, 2023
1 parent 091c312 commit e04eed2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/publish.yaml
Expand Up @@ -2,7 +2,7 @@ name: publish

on:
release:
types: [published,edited]
types: [published]

jobs:
publish:
Expand All @@ -19,11 +19,5 @@ jobs:
dotnet-version: 6.x.x
- run: dotnet pack -o dist -c Release "Source/MediaAccount.Client/MediaAccount.Client.csproj"

# - name: Publish package to NuGet.org
# uses: nuget/setup-nuget@v1
# with:
# nuget-api-key: ${{ secrets.NUGET_KEY }}
# nuget-packages: dist/*.nupkg

- name: Publish NuGet package
run: dotnet nuget push "dist/*.nupkg" --api-key "${{ secrets.NUGET_KEY }}" --source https://api.nuget.org/v3/index.json --skip-duplicate
run: dotnet nuget push "dist/*.nupkg" --api-key "${{ secrets.NUGET_KEY }}" --source https://api.nuget.org/v3/index.json --skip-duplicate
2 changes: 1 addition & 1 deletion Source/MediaAccount.Client/MediaAccount.Client.csproj
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<TargetFrameworks>netstandard2.0;netstandard2.1</TargetFrameworks>
<Version>0.3.11-pre1</Version>
<Version>1.0.0</Version>
<PackageTags>MediaAccount</PackageTags>
<PackageProjectUrl>https://github.com/CKrowiorsch/mediaaccount-client</PackageProjectUrl>
<RepositoryUrl>git@github.com:CKrowiorsch/mediaaccount-client.git</RepositoryUrl>
Expand Down

0 comments on commit e04eed2

Please sign in to comment.