diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index a0551869..dda122b0 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -57,7 +57,6 @@ jobs: # react_native_ios cannot be built on simulator due to WeChat SDK test_react_native_android: - if: ${{ github.event_name == 'pull_request' }} # When we change the runner image, the available Android build tools versions will also change. # We need to update build.gradle too. # See https://github.com/actions/runner-images/blob/main/images/macos/macos-13-Readme.md @@ -76,7 +75,6 @@ jobs: run: ./gradlew :app:assembleRelease test_capacitor_ios: - if: ${{ github.event_name == 'pull_request' }} runs-on: macos-13 steps: - uses: actions/checkout@v3 @@ -96,7 +94,6 @@ jobs: working-directory: ./example/capacitor/ios/App run: xcodebuild -quiet -workspace App.xcworkspace -scheme App -sdk iphonesimulator build test_capacitor_android: - if: ${{ github.event_name == 'pull_request' }} runs-on: macos-13 steps: - uses: actions/checkout@v3 @@ -116,7 +113,7 @@ jobs: run: ./gradlew :app:assembleRelease react_native_ios: - if: github.ref == 'refs/heads/master' + if: ${{ github.repository == 'authgear/authgear-sdk-js' && github.ref == 'refs/heads/master' && github.event_name == 'push' }} needs: test runs-on: macos-13 steps: @@ -178,7 +175,7 @@ jobs: security delete-keychain $RUNNER_TEMP/app-signing.keychain-db rm ~/Library/MobileDevice/Provisioning\ Profiles/build_pp.mobileprovision react_native_android: - if: github.ref == 'refs/heads/master' + if: ${{ github.repository == 'authgear/authgear-sdk-js' && github.ref == 'refs/heads/master' && github.event_name == 'push' }} needs: test # When we change the runner image, the available Android build tools versions will also change. # We need to update build.gradle too. @@ -228,7 +225,7 @@ jobs: APPCENTER_ACCESS_TOKEN: ${{ secrets.REACT_NATIVE_ANDROID_APPCENTER_ACCESS_TOKEN }} run: appcenter distribute release --debug --silent --file ./example/reactnative/android/app/build/outputs/apk/release/app-release-signed.apk --group "Collaborators" --app "Oursky/Authgear-demo-RN-Android" --release-notes "no release notes" capacitor_ios: - if: github.ref == 'refs/heads/master' + if: ${{ github.repository == 'authgear/authgear-sdk-js' && github.ref == 'refs/heads/master' && github.event_name == 'push' }} needs: test runs-on: macos-13 steps: @@ -290,7 +287,7 @@ jobs: security delete-keychain $RUNNER_TEMP/app-signing.keychain-db rm ~/Library/MobileDevice/Provisioning\ Profiles/build_pp.mobileprovision capacitor_android: - if: github.ref == 'refs/heads/master' + if: ${{ github.repository == 'authgear/authgear-sdk-js' && github.ref == 'refs/heads/master' && github.event_name == 'push' }} needs: test runs-on: macos-13 steps: diff --git a/CHANGELOG.md b/CHANGELOG.md index a738793b..c732060b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,8 @@ + +## [v2.11.0-rc.0](https://github.com/authgear/authgear-sdk-js/compare/v2.10.0...v2.11.0-rc.0) (2024-07-10) + + ## [v2.10.0](https://github.com/authgear/authgear-sdk-js/compare/v2.9.0...v2.10.0) (2024-06-28) diff --git a/example/capacitor/package-lock.json b/example/capacitor/package-lock.json index d01609da..87f23291 100644 --- a/example/capacitor/package-lock.json +++ b/example/capacitor/package-lock.json @@ -52,10 +52,10 @@ }, "../../packages/authgear-capacitor": { "name": "@authgear/capacitor", - "version": "2.10.0", + "version": "2.11.0-rc.0", "license": "Apache-2.0", "devDependencies": { - "@authgear/core": "2.10.0", + "@authgear/core": "2.11.0-rc.0", "@capacitor/android": "^5.0.0", "@capacitor/core": "^5.0.0", "@capacitor/ios": "^5.0.0" @@ -66,10 +66,10 @@ }, "../../packages/authgear-web": { "name": "@authgear/web", - "version": "2.10.0", + "version": "2.11.0-rc.0", "license": "Apache-2.0", "devDependencies": { - "@authgear/core": "2.10.0", + "@authgear/core": "2.11.0-rc.0", "core-js-pure": "^3.37.0" } }, diff --git a/example/reactweb/package-lock.json b/example/reactweb/package-lock.json index 5cc15eb9..3fd8f303 100644 --- a/example/reactweb/package-lock.json +++ b/example/reactweb/package-lock.json @@ -24,10 +24,10 @@ }, "../../packages/authgear-web": { "name": "@authgear/web", - "version": "2.10.0", + "version": "2.11.0-rc.0", "license": "Apache-2.0", "devDependencies": { - "@authgear/core": "2.10.0", + "@authgear/core": "2.11.0-rc.0", "core-js-pure": "^3.37.0" } }, diff --git a/packages/authgear-capacitor/package.json b/packages/authgear-capacitor/package.json index 63707e07..e0547a04 100644 --- a/packages/authgear-capacitor/package.json +++ b/packages/authgear-capacitor/package.json @@ -1,6 +1,6 @@ { "name": "@authgear/capacitor", - "version": "2.10.0", + "version": "2.11.0-rc.0", "license": "Apache-2.0", "main": "dist/plugin.cjs.js", "module": "dist/plugin.module.js", @@ -20,7 +20,7 @@ "build": "tsc && rollup -c rollup.config.js" }, "devDependencies": { - "@authgear/core": "2.10.0", + "@authgear/core": "2.11.0-rc.0", "@capacitor/android": "^5.0.0", "@capacitor/core": "^5.0.0", "@capacitor/ios": "^5.0.0" diff --git a/packages/authgear-core/package.json b/packages/authgear-core/package.json index e11e320d..4d6ccc49 100644 --- a/packages/authgear-core/package.json +++ b/packages/authgear-core/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "@authgear/core", - "version": "2.10.0", + "version": "2.11.0-rc.0", "license": "Apache-2.0", "main": "src/index.ts", "devDependencies": { diff --git a/packages/authgear-react-native/package.json b/packages/authgear-react-native/package.json index 6b911d95..478a448a 100644 --- a/packages/authgear-react-native/package.json +++ b/packages/authgear-react-native/package.json @@ -1,6 +1,6 @@ { "name": "@authgear/react-native", - "version": "2.10.0", + "version": "2.11.0-rc.0", "license": "Apache-2.0", "main": "dist/authgear-react-native.js", "files": [ @@ -11,7 +11,7 @@ "android" ], "devDependencies": { - "@authgear/core": "2.10.0", + "@authgear/core": "2.11.0-rc.0", "@types/react-native": "0.69.1", "core-js-pure": "^3.37.0" }, diff --git a/packages/authgear-web/package.json b/packages/authgear-web/package.json index 4f06ed90..e155c72d 100644 --- a/packages/authgear-web/package.json +++ b/packages/authgear-web/package.json @@ -1,6 +1,6 @@ { "name": "@authgear/web", - "version": "2.10.0", + "version": "2.11.0-rc.0", "license": "Apache-2.0", "main": "dist/authgear-web.cjs.js", "module": "dist/authgear-web.module.js", @@ -11,7 +11,7 @@ "dist/authgear-web.iife.js" ], "devDependencies": { - "@authgear/core": "2.10.0", + "@authgear/core": "2.11.0-rc.0", "core-js-pure": "^3.37.0" }, "keywords": [