Skip to content

Commit 646a750

Browse files
authored
Merge pull request #1897 from RedisInsight/release/2.22.1
Release/2.22.1 to main
2 parents 36bfdb8 + 656c859 commit 646a750

File tree

11 files changed

+21
-15
lines changed

11 files changed

+21
-15
lines changed

.circleci/config.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -598,17 +598,18 @@ jobs:
598598
599599
if [ << parameters.env >> == 'prod' ]; then
600600
yarn package:prod
601+
yarn package:mas
601602
rm -rf release/mac
602603
exit 0;
603604
fi
604605
605606
if [ << parameters.env >> == 'stage' ]; then
606-
UPGRADES_LINK=$UPGRADES_LINK_STAGE SEGMENT_WRITE_KEY=$SEGMENT_WRITE_KEY_STAGE yarn package:stage
607+
UPGRADES_LINK=$UPGRADES_LINK_STAGE SEGMENT_WRITE_KEY=$SEGMENT_WRITE_KEY_STAGE yarn package:stage && yarn package:mas
607608
rm -rf release/mac
608609
exit 0;
609610
fi
610611
611-
UPGRADES_LINK='' SEGMENT_WRITE_KEY='' yarn package:stage
612+
UPGRADES_LINK='' SEGMENT_WRITE_KEY='' yarn package:stage && yarn package:mas
612613
rm -rf release/mac
613614
no_output_timeout: 60m
614615

dev.provisionprofile

-140 Bytes
Binary file not shown.

electron-builder-mas.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
const electronBuilder = require('./electron-builder.json');
2+
3+
const config = {
4+
...electronBuilder,
5+
appId: 'com.redis.RedisInsight',
6+
productName: 'RedisInsight',
7+
};
8+
9+
module.exports = config;

electron-builder.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,12 @@
2828
{
2929
"target": "zip",
3030
"arch": ["x64", "arm64"]
31-
},
32-
{
33-
"target": "mas",
34-
"arch": ["universal"]
3531
}
3632
],
3733
"type": "distribution",
3834
"hardenedRuntime": true,
3935
"darkModeSupport": true,
40-
"bundleVersion": "1",
36+
"bundleVersion": "3",
4137
"icon": "resources/icon.icns",
4238
"artifactName": "${productName}-${os}-${arch}.${ext}",
4339
"entitlements": "resources/entitlements.mac.plist",

embedded.provisionprofile

-148 Bytes
Binary file not shown.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626
"package": "yarn package:dev",
2727
"package:prod": "yarn build:prod && electron-builder build -p never",
2828
"package:stage": "yarn build:stage && electron-builder build -p never",
29-
"build:mas": "electron-builder build -p never -m mas:universal",
30-
"build:mas:dev": "electron-builder build -p never -m mas-dev:universal",
29+
"package:mas": "electron-builder build -p never -m mas:universal -c ./electron-builder-mas.js",
30+
"package:mas:dev": "electron-builder build -p never -m mas-dev:universal -c ./electron-builder-mas.js",
3131
"package:dev": "yarn build && cross-env DEBUG=electron-builder electron-builder build -p never",
3232
"package:win": "yarn build:prod && electron-builder build --win --x64 -p never",
3333
"package:mac": "yarn build:prod && electron-builder build --mac -p never",

redisinsight/about-panel.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const ICON_PATH = app.isPackaged
88
export default {
99
applicationName: 'RedisInsight-v2',
1010
applicationVersion:
11-
`${app.getVersion() || '2.22.0'}${process.env.NODE_ENV !== 'production' && `-dev-${process.getCreationTime()}`}`,
11+
`${app.getVersion() || '2.22.1'}${process.env.NODE_ENV !== 'production' ? `-dev-${process.getCreationTime()}` : ''}`,
1212
copyright: `Copyright © ${new Date().getFullYear()} Redis Ltd.`,
1313
iconPath: ICON_PATH,
1414
};

redisinsight/api/config/swagger.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const SWAGGER_CONFIG: Omit<OpenAPIObject, 'paths'> = {
55
info: {
66
title: 'RedisInsight Backend API',
77
description: 'RedisInsight Backend API',
8-
version: '2.22.0',
8+
version: '2.22.1',
99
},
1010
tags: [],
1111
};

redisinsight/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "redisinsight",
33
"productName": "RedisInsight",
44
"private": true,
5-
"version": "2.22.0",
5+
"version": "2.22.1",
66
"description": "RedisInsight",
77
"main": "./main.prod.js",
88
"author": {

resources/entitlements.mas.plist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@
2222
<true/>
2323
<key>com.apple.security.application-groups</key>
2424
<array>
25-
<string>UUK47G4BAZ.org.RedisLabs.RedisInsight-V2</string>
25+
<string>UUK47G4BAZ.com.redis.RedisInsight</string>
2626
</array>
2727
<key>com.apple.application-identifier</key>
28-
<string>UUK47G4BAZ.org.RedisLabs.RedisInsight-V2</string>
28+
<string>UUK47G4BAZ.com.redis.RedisInsight</string>
2929
<key>com.apple.developer.team-identifier</key>
3030
<string>UUK47G4BAZ</string>
3131
<key>com.apple.security.temporary-exception.files.home-relative-path.read-write</key>

0 commit comments

Comments
 (0)