Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions .github/workflows/publish-common-trigger.yml.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: 2. SDK publish RC manual or from master/support

on:
workflow_dispatch:
pull_request:
types: [closed]
branches:
- 'master'
- 'support/*'

jobs:
check-branch-for-manual:
if: github.event_name == 'workflow_dispatch'
runs-on: ubuntu-latest
steps:
- name: Check if branch matches pattern
run: |
if ! echo "${{ github.ref_name }}" | grep -q "release/.*-rc"; then
echo "Branch name must match pattern 'release/*-rc'"
exit 1
fi

publish-manual:
if: github.event_name == 'workflow_dispatch'
needs: check-branch-for-manual
uses: ./.github/workflows/publish-reusable.yml
with:
branch: ${{ github.ref_name }}
secrets: inherit

publish-from-pr:
if: github.event_name == 'pull_request' && github.event.pull_request.merged == true
uses: ./.github/workflows/publish-reusable.yml
with:
branch: ${{ github.base_ref }}
secrets: inherit
16 changes: 0 additions & 16 deletions .github/workflows/publish-from-master-or-support.yml

This file was deleted.

22 changes: 0 additions & 22 deletions .github/workflows/publish-manual.yml

This file was deleted.

10 changes: 7 additions & 3 deletions .github/workflows/publish-reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ on:
branch:
required: true
type: string

permissions:
id-token: write
contents: write

jobs:
checkingVersion:
Expand Down Expand Up @@ -41,9 +45,9 @@ jobs:
with:
ref: ${{ inputs.branch }}
- name: Setup node JS
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: 14
node-version: 'lts/*'
registry-url: https://registry.npmjs.org
- name: Setup local environment
run: yarn
Expand Down Expand Up @@ -81,9 +85,9 @@ jobs:
fi
- name: Release
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_CICD_SECRET }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
npm install -g npm@latest
if [ ${{ steps.prerelease_check.outputs.is_prerelease }} == "true" ]; then
yarn release ${{ needs.checkingVersion.outputs.newVersion }} --pre-release --no-plugins.@release-it/keep-a-changelog.strictLatest --ci
else
Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## [Unreleased]

### Changes
- Upgrade Android SDK dependency to v2.14.5
- Upgrade iOS SDK dependency to v2.14.5


## [2.14.5] - 2025-11-21

### Changes
Expand Down
4 changes: 2 additions & 2 deletions MindboxSdk.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ Pod::Spec.new do |s|

s.dependency "React-Core"

s.dependency "Mindbox", "2.14.4"
s.dependency "MindboxNotifications", "2.14.4"
s.dependency "Mindbox", "2.14.5"
s.dependency "MindboxNotifications", "2.14.5"
end
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -126,5 +126,5 @@ dependencies {
// noinspection GradleDynamicVersion
api 'com.facebook.react:react-native:+'
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
api 'cloud.mindbox:mobile-sdk:2.14.4'
api 'cloud.mindbox:mobile-sdk:2.14.5'
}
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "mindbox-sdk",
"version": "2.14.5",
"target-version": "2.14.5",
"target-version": "2.14.6",
"description": "SDK for integration React Native mobile apps with Mindbox",
"main": "lib/commonjs/index",
"module": "lib/module/index",
Expand Down Expand Up @@ -100,7 +100,8 @@
"after:bump": "npx auto-changelog -p"
},
"npm": {
"publish": true
"publish": true,
"skipChecks": true
},
"github": {
"release": true
Expand Down