From 3ee6708ff7e30c869411849e2a42b98fea45144c Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 3 Sep 2021 18:16:47 +0200 Subject: [PATCH] Release 10.4.1 (#2606) Co-authored-by: nirinchev Co-authored-by: Nikola Irinchev --- .github/templates/common.lib.yml | 2 +- .github/templates/publish-release.yml | 9 ++------- .github/workflows/publish-release.yml | 4 +--- CHANGELOG.md | 5 +---- Realm/Realm.Fody/Realm.Fody.csproj | 3 ++- 5 files changed, 7 insertions(+), 16 deletions(-) diff --git a/.github/templates/common.lib.yml b/.github/templates/common.lib.yml index cc2268e620..c90426bf02 100644 --- a/.github/templates/common.lib.yml +++ b/.github/templates/common.lib.yml @@ -17,7 +17,7 @@ #@ actionDockerRun = "addnab/docker-run-action@3e77f186b7a929ef010f183a9e24c0f9955ea609" #! v3 #@ actionCoveralls = "coverallsapp/github-action@9ba913c152ae4be1327bfb9085dc806cedb44057" #! v1.1.3 #@ actionDeleteArtifact = "geekyeggo/delete-artifact@56e063d7d8bf9972ac54aca4454d3a6675917f44" #! v1 -#@ actionGithubRelease = "ncipollo/release-action@a4f828a4e5777f12a55454900a18d3e60d8803fd" #! v1 +#@ actionGithubRelease = "ncipollo/release-action@10c84d509b28aae3903113151bfd832314964f2e" #! v1.8.8 #@ actionDownloadAllArtifacts = "dawidd6/action-download-artifact@d0f291cf39bd21965ea9c4c6e210fc355c3844ed" #! v2.14.1 #@ def checkoutCode(submodules=False, registerProblemMatchers=True): diff --git a/.github/templates/publish-release.yml b/.github/templates/publish-release.yml index b75c6b7a80..5e313ec170 100644 --- a/.github/templates/publish-release.yml +++ b/.github/templates/publish-release.yml @@ -1,14 +1,9 @@ #@ load("@ytt:template", "template") #@ load("common.lib.yml", "checkoutCode", "actionDownloadAllArtifacts", "actionSetupNode", "actionAWSConfigureCredentials", "actionGithubRelease") -#@ def uploadToNuget(packageName, includeSymbols = False): +#@ def uploadToNuget(packageName): - name: #@ "NuGet Publish " + packageName + ".${{ steps.get-version.outputs.version }}" run: #@ "dotnet nuget push ${{ github.workspace }}/Realm/packages/" + packageName + ".${{ steps.get-version.outputs.version }}/" + packageName + ".${{ steps.get-version.outputs.version }}.nupkg --skip-duplicate --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json" - -#@ if includeSymbols: - - name: #@ "NuGet Publish Symbols " + packageName + ".${{ steps.get-version.outputs.version }}" - run: #@ "dotnet nuget push ${{ github.workspace }}/Realm/packages/" + packageName + ".${{ steps.get-version.outputs.version }}/" + packageName + ".${{ steps.get-version.outputs.version }}.snupkg --skip-duplicate --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json" -#@ end #@ end #@ def uploadToNpm(packageName): @@ -87,5 +82,5 @@ jobs: - #@ template.replace(publishGithubRelease()) - #@ template.replace(uploadDocsToS3()) - #@ template.replace(uploadToNuget("Realm.Fody")) - - #@ template.replace(uploadToNuget("Realm", True)) + - #@ template.replace(uploadToNuget("Realm")) - #@ template.replace(uploadToNpm("io.realm.unity")) diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index 2686822e23..fe28f2266e 100755 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -33,7 +33,7 @@ jobs: $version = $Matches[0] echo "::set-output name=version::$version" - name: Create Github Release - uses: ncipollo/release-action@a4f828a4e5777f12a55454900a18d3e60d8803fd + uses: ncipollo/release-action@10c84d509b28aae3903113151bfd832314964f2e with: artifacts: ${{ github.workspace }}/Realm/packages/io.realm.unity-${{ steps.get-version.outputs.version }}.tgz/io.realm.unity-${{ steps.get-version.outputs.version }}.tgz bodyFile: ${{ steps.extract-release-notes.outputs.release-notes-path }} @@ -60,8 +60,6 @@ jobs: run: dotnet nuget push ${{ github.workspace }}/Realm/packages/Realm.Fody.${{ steps.get-version.outputs.version }}/Realm.Fody.${{ steps.get-version.outputs.version }}.nupkg --skip-duplicate --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json - name: NuGet Publish Realm.${{ steps.get-version.outputs.version }} run: dotnet nuget push ${{ github.workspace }}/Realm/packages/Realm.${{ steps.get-version.outputs.version }}/Realm.${{ steps.get-version.outputs.version }}.nupkg --skip-duplicate --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json - - name: NuGet Publish Symbols Realm.${{ steps.get-version.outputs.version }} - run: dotnet nuget push ${{ github.workspace }}/Realm/packages/Realm.${{ steps.get-version.outputs.version }}/Realm.${{ steps.get-version.outputs.version }}.snupkg --skip-duplicate --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json - uses: actions/setup-node@v2 with: node-version: 12.x diff --git a/CHANGELOG.md b/CHANGELOG.md index ace2876af0..5872e6de3b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,12 +1,9 @@ -## vNext (TBD) +## 10.4.1 (2021-09-03) ### Fixed * Fixed a regression that would prevent the SDK from working on older Linux versions. (Issue [#2602](https://github.com/realm/realm-dotnet/issues/2602)) * Fixed an issue that manifested in circumventing the check for changing a primary key when using the dynamic API - i.e. `myObj.DynamicApi.Set("Id", "some-new-value")` will now correctly throw a `NotSupportedException` if `"some-new-value"` is different from `myObj`'s primary key value. (PR [#2601](https://github.com/realm/realm-dotnet/pull/2601)) -### Enhancements -* None - ### Compatibility * Realm Studio: 11.0.0 or later. diff --git a/Realm/Realm.Fody/Realm.Fody.csproj b/Realm/Realm.Fody/Realm.Fody.csproj index 6229466091..2841972893 100644 --- a/Realm/Realm.Fody/Realm.Fody.csproj +++ b/Realm/Realm.Fody/Realm.Fody.csproj @@ -1,4 +1,5 @@  + netstandard2.0 Realms.Fody @@ -11,6 +12,7 @@ true $(NoWarn),1591, NU5100, NU5128 8.0 + False @@ -34,5 +36,4 @@ - \ No newline at end of file