Skip to content

Commit

Permalink
Release 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmad2smile committed Apr 21, 2024
1 parent a82af6c commit 19f0480
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ jobs:
dotnet-version: '8.x'
env:
NUGET_AUTH_TOKEN: ${{secrets.NUGET_TOKEN}}
PROJECT_DIR: "src/KurzSharp"

- name: Install dependencies
run: dotnet restore
Expand All @@ -41,8 +40,9 @@ jobs:
if: ${{ always() }}

- name: Create the package
run: dotnet pack --configuration Release ${{PROJECT_DIR}}
run: dotnet pack --configuration Release src/KurzSharp

- name: Publish the package
run: |
dotnet nuget push "${{PROJECT_DIR}}/bin/Release/*.nupkg" --skip-duplicate --no-symbols true
dotnet nuget push "src/KurzSharp/bin/Release/*.nupkg" --skip-duplicate --api-key ${{secrets.NUGET_TOKEN}} --source https://api.nuget.org/v3/index.json
dotnet nuget push "src/KurzSharp/bin/Release/*.nupkg" --skip-duplicate --api-key ${{secrets.GITHUB_TOKEN}} --source https://nuget.pkg.github.com/ahmad2smile/index.json
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## Unreleased
## [2.0.0] - 2024-04-21

### Added

Expand Down
2 changes: 1 addition & 1 deletion src/KurzSharp/KurzSharp.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<LangVersion>12</LangVersion>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<Version>1.0.9</Version>
<Version>2.0.0</Version>
<Authors>Ahmad</Authors>
<IncludeBuildOutput>false</IncludeBuildOutput>
<PackageReadmeFile>README.md</PackageReadmeFile>
Expand Down

0 comments on commit 19f0480

Please sign in to comment.