Skip to content

Commit

Permalink
Prepare for 10.21.0 (#4896)
Browse files Browse the repository at this point in the history
* [10.21.0] Bump version

* Update publish-release.yml

* Update .npmignore

* Update publish-release.yml

Co-authored-by: kraenhansen <[email protected]>
Co-authored-by: Kræn Hansen <[email protected]>
  • Loading branch information
3 people authored Sep 12, 2022
1 parent 0a266c1 commit f41625e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ on:
required: true
type: string
default: 'latest'
commit:
description: Optional commit to publish from
required: false
type: string

jobs:
main:
Expand All @@ -18,12 +22,13 @@ jobs:
uses: actions/checkout@v3
with:
submodules: recursive
ref: ${{ github.event.pull_request.head.sha }}
ref: ${{ inputs.commit || github.event.pull_request.head.sha }}

- name: Setup node version
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: 16
registry-url: 'https://registry.npmjs.org'
cache: 'npm'
cache-dependency-path: '**/package-lock.json'

Expand All @@ -50,7 +55,7 @@ jobs:
uses: dawidd6/action-download-artifact@d0f291cf39bd21965ea9c4c6e210fc355c3844ed
with:
workflow: pr-realm-js.yml
commit: ${{ github.sha }}
commit: ${{ inputs.commit || github.sha }}
path: ${{ github.workspace }}
workflow_conclusion: completed
github_token: ${{ secrets.REALM_CI_PAT }}
Expand All @@ -69,7 +74,7 @@ jobs:
- name: Publish realm v${{ steps.get-version.outputs.version }} on NPM
run: npm publish --tag '${{ inputs.tag}}'
env:
NODE_AUTH_TOKEN: ${{ secrets.npm_token }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Find Release PR
uses: juliangruber/find-pull-request-action@f9f7484f8237cf8485e5ab826e542ba5dd9e9c6e
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## 10.21.0 (2022-09-09)
## 10.21.0 (2022-09-12)

### Enhancements
* Automatic handling backlinks for schema migrations where a class/object type changes to being embedded. ([realm/realm-core#5737](https://github.com/realm/realm-core/pull/5737))
Expand Down
1 change: 1 addition & 0 deletions vendor/.npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@ realm-core/src/external/IntelRDFPMathLib20U2/TESTS
realm-core/test
realm-core/external
realm-core/doc
realm-core/tools

0 comments on commit f41625e

Please sign in to comment.