Skip to content

Commit 3ee6708

Browse files
Release 10.4.1 (#2606)
Co-authored-by: nirinchev <nirinchev@users.noreply.github.com> Co-authored-by: Nikola Irinchev <irinchev@me.com>
1 parent 21a0137 commit 3ee6708

File tree

5 files changed

+7
-16
lines changed

5 files changed

+7
-16
lines changed

.github/templates/common.lib.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
#@ actionDockerRun = "addnab/docker-run-action@3e77f186b7a929ef010f183a9e24c0f9955ea609" #! v3
1818
#@ actionCoveralls = "coverallsapp/github-action@9ba913c152ae4be1327bfb9085dc806cedb44057" #! v1.1.3
1919
#@ actionDeleteArtifact = "geekyeggo/delete-artifact@56e063d7d8bf9972ac54aca4454d3a6675917f44" #! v1
20-
#@ actionGithubRelease = "ncipollo/release-action@a4f828a4e5777f12a55454900a18d3e60d8803fd" #! v1
20+
#@ actionGithubRelease = "ncipollo/release-action@10c84d509b28aae3903113151bfd832314964f2e" #! v1.8.8
2121
#@ actionDownloadAllArtifacts = "dawidd6/action-download-artifact@d0f291cf39bd21965ea9c4c6e210fc355c3844ed" #! v2.14.1
2222

2323
#@ def checkoutCode(submodules=False, registerProblemMatchers=True):

.github/templates/publish-release.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,9 @@
11
#@ load("@ytt:template", "template")
22
#@ load("common.lib.yml", "checkoutCode", "actionDownloadAllArtifacts", "actionSetupNode", "actionAWSConfigureCredentials", "actionGithubRelease")
33

4-
#@ def uploadToNuget(packageName, includeSymbols = False):
4+
#@ def uploadToNuget(packageName):
55
- name: #@ "NuGet Publish " + packageName + ".${{ steps.get-version.outputs.version }}"
66
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"
7-
8-
#@ if includeSymbols:
9-
- name: #@ "NuGet Publish Symbols " + packageName + ".${{ steps.get-version.outputs.version }}"
10-
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"
11-
#@ end
127
#@ end
138

149
#@ def uploadToNpm(packageName):
@@ -87,5 +82,5 @@ jobs:
8782
- #@ template.replace(publishGithubRelease())
8883
- #@ template.replace(uploadDocsToS3())
8984
- #@ template.replace(uploadToNuget("Realm.Fody"))
90-
- #@ template.replace(uploadToNuget("Realm", True))
85+
- #@ template.replace(uploadToNuget("Realm"))
9186
- #@ template.replace(uploadToNpm("io.realm.unity"))

.github/workflows/publish-release.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
$version = $Matches[0]
3434
echo "::set-output name=version::$version"
3535
- name: Create Github Release
36-
uses: ncipollo/release-action@a4f828a4e5777f12a55454900a18d3e60d8803fd
36+
uses: ncipollo/release-action@10c84d509b28aae3903113151bfd832314964f2e
3737
with:
3838
artifacts: ${{ github.workspace }}/Realm/packages/io.realm.unity-${{ steps.get-version.outputs.version }}.tgz/io.realm.unity-${{ steps.get-version.outputs.version }}.tgz
3939
bodyFile: ${{ steps.extract-release-notes.outputs.release-notes-path }}
@@ -60,8 +60,6 @@ jobs:
6060
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
6161
- name: NuGet Publish Realm.${{ steps.get-version.outputs.version }}
6262
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
63-
- name: NuGet Publish Symbols Realm.${{ steps.get-version.outputs.version }}
64-
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
6563
- uses: actions/setup-node@v2
6664
with:
6765
node-version: 12.x

CHANGELOG.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
1-
## vNext (TBD)
1+
## 10.4.1 (2021-09-03)
22

33
### Fixed
44
* Fixed a regression that would prevent the SDK from working on older Linux versions. (Issue [#2602](https://github.com/realm/realm-dotnet/issues/2602))
55
* 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))
66

7-
### Enhancements
8-
* None
9-
107
### Compatibility
118
* Realm Studio: 11.0.0 or later.
129

Realm/Realm.Fody/Realm.Fody.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<Project Sdk="Microsoft.NET.Sdk">
2+
<Import Project="..\AssemblyInfo.props" />
23
<PropertyGroup>
34
<TargetFramework>netstandard2.0</TargetFramework>
45
<RootNamespace>Realms.Fody</RootNamespace>
@@ -11,6 +12,7 @@
1112
<GenerateDocumentationFile>true</GenerateDocumentationFile>
1213
<NoWarn>$(NoWarn),1591, NU5100, NU5128</NoWarn>
1314
<LangVersion>8.0</LangVersion>
15+
<IncludeSymbols>False</IncludeSymbols>
1416
</PropertyGroup>
1517
<ItemGroup Label="References">
1618
<PackageReference Include="FodyHelpers" Version="6.*" PrivateAssets="All" />
@@ -34,5 +36,4 @@
3436
<AdditionalFiles Include="$(ProjectDir)..\..\stylecop.json" />
3537
</ItemGroup>
3638
<Import Project="..\Realm.Weaver\Realm.Weaver.projitems" Label="Shared" />
37-
<Import Project="..\AssemblyInfo.props" />
3839
</Project>

0 commit comments

Comments
 (0)