Skip to content

Commit

Permalink
Prepare for 10.5.0 (#2614)
Browse files Browse the repository at this point in the history
* [create-pull-request] automated change

* Update CHANGELOG.md

* Temporary modification

* Modified artifacts commit

* Removed npm publish

Co-authored-by: DominicFrei <DominicFrei@users.noreply.github.com>
Co-authored-by: Dominic Frei <business.dominic.frei@gmail.com>
Co-authored-by: Ferdinando Papale <4850119+papafe@users.noreply.github.com>
  • Loading branch information
4 people authored Sep 9, 2021
1 parent 335aac2 commit 02e9380
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 30 deletions.
28 changes: 1 addition & 27 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
uses: dawidd6/action-download-artifact@d0f291cf39bd21965ea9c4c6e210fc355c3844ed
with:
workflow: main.yml
commit: ${{ github.sha }}
commit: 11777136f471106f93aac9bb157f6e7050244987
path: ${{ github.workspace }}/Realm/packages/
- name: Read version
id: get-version
Expand All @@ -23,32 +23,6 @@ jobs:
$nupkgName -match "(?sm)\d{1,2}\.\d{1,2}\.\d{1,2}(?:-[a-zA-Z]*\.\d{1,2})?"
$version = $Matches[0]
echo "::set-output name=version::$version"
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.DOCS_S3_ACCESS_KEY }}
aws-secret-access-key: ${{ secrets.DOCS_S3_SECRET_KEY }}
aws-region: us-east-2
- name: Upload docs
run: |
Expand-Archive -Path Realm/packages/Docs.zip/Docs.zip -DestinationPath Realm/packages
$versions = "${{ steps.get-version.outputs.version }}", "latest"
Foreach ($ver in $versions)
{
aws s3 sync --acl public-read "${{ github.workspace }}\Realm\packages\_site" s3://realm-sdks/realm-sdks/dotnet/$ver/
}
- name: NuGet Publish Realm.Fody.${{ steps.get-version.outputs.version }}
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
- uses: actions/setup-node@v2
with:
node-version: 12.x
registry-url: https://registry.npmjs.org
- name: Npm Publish io.realm.unity-${{ steps.get-version.outputs.version }}
run: npm publish ${{ github.workspace }}/Realm/packages/io.realm.unity-${{ steps.get-version.outputs.version }}.tgz/io.realm.unity-${{ steps.get-version.outputs.version }}.tgz
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Find Release PR
uses: juliangruber/find-pull-request-action@f9f7484f8237cf8485e5ab826e542ba5dd9e9c6e
id: find-pull-request
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## vNext (TBD)
## 10.5.0 (2021-09-09)

### Enhancements
* ThreadSafeReference no longer pins the source transaction version for anything other than a Results backed by a Query. (Core upgrade)
Expand Down
2 changes: 1 addition & 1 deletion Realm/AssemblyInfo.props
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Product>Realm .NET</Product>
<VersionPrefix>10.4.1</VersionPrefix>
<VersionPrefix>10.5.0</VersionPrefix>
<Description Condition="'$(Description)' == ''">Realm is a mobile database: a replacement for SQLite</Description>
<Company>Realm Inc.</Company>
<Copyright>Copyright © $([System.DateTime]::Now.ToString(yyyy)) Realm Inc.</Copyright>
Expand Down
2 changes: 1 addition & 1 deletion Realm/Realm.Unity/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "io.realm.unity",
"version": "10.4.1",
"version": "10.5.0",
"displayName": "Realm",
"description": "Realm is an embedded mobile database for Unity",
"unity": "2021.1",
Expand Down

0 comments on commit 02e9380

Please sign in to comment.