Skip to content

Commit

Permalink
Release 10.4.1 (#2606)
Browse files Browse the repository at this point in the history
Co-authored-by: nirinchev <[email protected]>
Co-authored-by: Nikola Irinchev <[email protected]>
  • Loading branch information
3 people authored Sep 3, 2021
1 parent 21a0137 commit 3ee6708
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/templates/common.lib.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
9 changes: 2 additions & 7 deletions .github/templates/publish-release.yml
Original file line number Diff line number Diff line change
@@ -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):
Expand Down Expand Up @@ -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"))
4 changes: 1 addition & 3 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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
Expand Down
5 changes: 1 addition & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
3 changes: 2 additions & 1 deletion Realm/Realm.Fody/Realm.Fody.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\AssemblyInfo.props" />
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<RootNamespace>Realms.Fody</RootNamespace>
Expand All @@ -11,6 +12,7 @@
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<NoWarn>$(NoWarn),1591, NU5100, NU5128</NoWarn>
<LangVersion>8.0</LangVersion>
<IncludeSymbols>False</IncludeSymbols>
</PropertyGroup>
<ItemGroup Label="References">
<PackageReference Include="FodyHelpers" Version="6.*" PrivateAssets="All" />
Expand All @@ -34,5 +36,4 @@
<AdditionalFiles Include="$(ProjectDir)..\..\stylecop.json" />
</ItemGroup>
<Import Project="..\Realm.Weaver\Realm.Weaver.projitems" Label="Shared" />
<Import Project="..\AssemblyInfo.props" />
</Project>

0 comments on commit 3ee6708

Please sign in to comment.