diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
index b4d2103..114bdec 100644
--- a/.github/workflows/publish.yml
+++ b/.github/workflows/publish.yml
@@ -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
@@ -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
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 3ca7b99..ba316f4 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -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
diff --git a/src/KurzSharp/KurzSharp.csproj b/src/KurzSharp/KurzSharp.csproj
index fd722e0..6101666 100644
--- a/src/KurzSharp/KurzSharp.csproj
+++ b/src/KurzSharp/KurzSharp.csproj
@@ -5,7 +5,7 @@
12
enable
enable
- 1.0.9
+ 2.0.0
Ahmad
false
README.md