diff --git a/.github/icon.png b/.github/icon.png new file mode 100644 index 0000000..eb1468e Binary files /dev/null and b/.github/icon.png differ diff --git a/.github/workflows/dotnet-core.yml b/.github/workflows/dotnet-core.yml index 1647d73..0627456 100644 --- a/.github/workflows/dotnet-core.yml +++ b/.github/workflows/dotnet-core.yml @@ -17,7 +17,7 @@ jobs: - name: Setup .NET Core uses: actions/setup-dotnet@v1 with: - dotnet-version: 3.1.301 + dotnet-version: '7.0.x' - name: Install dependencies run: dotnet restore diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e5430ca..1acc0b3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,7 +13,7 @@ jobs: - name: Setup .NET Core uses: actions/setup-dotnet@v1 with: - dotnet-version: 3.1.301 + dotnet-version: '7.0.x' - name: Wait for tests to succeed uses: lewagon/wait-on-check-action@v1.0.0 @@ -23,28 +23,13 @@ jobs: repo-token: ${{ secrets.GITHUB_TOKEN }} wait-interval: 10 - # Publish - - name: publish on version change - id: publish_nuget - uses: rohith/publish-nuget@v2 - with: - # Filepath of the project to be packaged, relative to root of repository - PROJECT_FILE_PATH: Core/Core.csproj - - # NuGet package id, used for version detection & defaults to project name - PACKAGE_NAME: supabase/core - - # Filepath with version info, relative to root of repository & defaults to PROJECT_FILE_PATH - # VERSION_FILE_PATH: Directory.Build.props + - name: Install dependencies + run: dotnet restore - # Regex pattern to extract version info in a capturing group - VERSION_REGEX: ^\s*(.*)<\/PackageVersion>\s*$ + - name: Build Core + run: dotnet build ./Core/Core.csproj --configuration Release --no-restore - # API key to authenticate with NuGet server - NUGET_KEY: ${{secrets.NUGET_API_KEY}} - - # NuGet server uri hosting the packages, defaults to https://api.nuget.org - NUGET_SOURCE: https://api.nuget.org - - # Flag to toggle pushing symbols along with nuget package to the server, disabled by default - INCLUDE_SYMBOLS: true + # Publish + - name: publish on version change + run: nuget push "**/*.nupkg" -Source 'https://api.nuget.org/v3/index.json' -ApiKey ${{secrets.NUGET_API_KEY}} + diff --git a/CHANGELOG.md b/CHANGELOG.md index 3d35c5b..cfc85b2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1 +1,5 @@ # Changelog + +## 0.0.3 - 2023-06-10 + +- Changes assembly name to `Supabase.Core` \ No newline at end of file diff --git a/Core.sln b/Core.sln index 233a311..76ee6aa 100644 --- a/Core.sln +++ b/Core.sln @@ -6,10 +6,20 @@ MinimumVisualStudioVersion = 10.0.40219.1 Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{2E3D2A48-13BB-4FDE-A351-0F5A18E483F9}" ProjectSection(SolutionItems) = preProject README.md = README.md + CHANGELOG.md = CHANGELOG.md EndProjectSection EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Core", "Core\Core.csproj", "{CB06BAE1-2939-48B9-A6E0-76B7CB9B28EC}" EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".github", ".github", "{A499F1A7-D091-49B0-BA37-DE4B8B96D4AB}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "workflows", "workflows", "{E74F4FEF-A266-4BDF-ABE3-9971D1D9D134}" + ProjectSection(SolutionItems) = preProject + .github\workflows\build-documentation.yaml = .github\workflows\build-documentation.yaml + .github\workflows\dotnet-core.yml = .github\workflows\dotnet-core.yml + .github\workflows\release.yml = .github\workflows\release.yml + EndProjectSection +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -27,4 +37,8 @@ Global GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {60A9E6A9-9F1E-4BDB-ACAF-379C9B524314} EndGlobalSection + GlobalSection(NestedProjects) = preSolution + {A499F1A7-D091-49B0-BA37-DE4B8B96D4AB} = {2E3D2A48-13BB-4FDE-A351-0F5A18E483F9} + {E74F4FEF-A266-4BDF-ABE3-9971D1D9D134} = {A499F1A7-D091-49B0-BA37-DE4B8B96D4AB} + EndGlobalSection EndGlobal diff --git a/Core/Core.csproj b/Core/Core.csproj index 588c4a3..46a6b7e 100644 --- a/Core/Core.csproj +++ b/Core/Core.csproj @@ -1,32 +1,45 @@ + - - - netstandard2.0 - - - - netstandard2.0 - true - supabase-core - Joseph Schultz <joseph@acupofjose.com> - MIT - en - Joseph Schultz <joseph@acupofjose.com> - Shared core for supabase-csharp - Supabase Core - Shared core for supabase-csharp - Supabase.Core - https://avatars.githubusercontent.com/u/54469796?s=200&v=4 - https://github.com/supabase-community/core-csharp/blob/master/LICENSE - https://github.com/supabase-community/core-csharp - supabase, core - 0.0.2 - 0.0.2 - - - - enable - 8.0 - CS8600;CS8602;CS8603 - + + netstandard2.0 + Supabase.Core + Supabase.Core + true + netstandard2.0 + true + supabase-core + Joseph Schultz <joseph@acupofjose.com> + MIT + en + Joseph Schultz <joseph@acupofjose.com> + Shared core for supabase-csharp + Supabase Core + Shared core for supabase-csharp + https://avatars.githubusercontent.com/u/54469796?s=200&v=4 + MIT + https://github.com/supabase-community/core-csharp + https://github.com/supabase-community/core-csharp + git + supabase, core + icon.png + README.md + 0.0.3 + 0.0.3 + + + true + snupkg + + + true + + + enable + 8.0 + CS8600;CS8602;CS8603 + + + + +