Skip to content

Commit 85dd551

Browse files
author
arthosofteq
authored
Merge pull request #401 from RedisInsight/feature/RI-2555_rename_app_to_RedisInsight-V2
#RI-2555 - Rename the app from RedisInsight-preview to RedisInsight-V2
2 parents f7af2b3 + 4fbd447 commit 85dd551

32 files changed

+50
-7
lines changed

.circleci/config.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -455,6 +455,7 @@ jobs:
455455
- run:
456456
name: install dependencies
457457
command: |
458+
sudo apt-get update -y && sudo apt-get install -y rpm
458459
yarn --cwd redisinsight/api/ install
459460
yarn install
460461
yarn build:statics
@@ -492,6 +493,7 @@ jobs:
492493
paths:
493494
- release/RedisInsight*.deb
494495
- release/RedisInsight*.AppImage
496+
- release/RedisInsight*.rpm
495497
- release/*-linux.yml
496498
- release/redisstack
497499
macosx:
@@ -663,6 +665,19 @@ jobs:
663665
echo "APP VERSION $applicationVersion"
664666
ghr -t ${GH_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} -prerelease -delete ${applicationVersion}
665667
668+
release-aws-test:
669+
executor: linux-executor
670+
steps:
671+
- checkout
672+
- attach_workspace:
673+
at: .
674+
- run:
675+
name: publish
676+
command: |
677+
rm release/._* ||:
678+
applicationVersion=$(jq -r '.version' redisinsight/package.json)
679+
aws s3 cp release/ s3://${AWS_BUCKET_NAME_TEST}/public/rs-ri-builds/${CIRCLE_BUILD_NUM} --recursive --exclude "*.json"
680+
666681
release-aws-private:
667682
executor: linux-executor
668683
steps:
@@ -879,6 +894,13 @@ workflows:
879894
- Build app - MacOS (dev)
880895
- Build app - Windows (dev)
881896

897+
- release-aws-test:
898+
name: Release AWS test
899+
requires:
900+
- Build app - Linux (dev)
901+
- Build app - MacOS (dev)
902+
- Build app - Windows (dev)
903+
882904
# build and release electron app (stage)
883905
- setup-sign-certificates:
884906
name: Setup sign certificates (stage)
@@ -905,6 +927,14 @@ workflows:
905927
name: Build app - Windows (stage)
906928
requires: *stageElectronBuildRequires
907929
<<: *stageFilter
930+
931+
- release-aws-test:
932+
name: Release AWS test
933+
requires:
934+
- Build app - Linux (stage)
935+
- Build app - MacOS (stage)
936+
- Build app - Windows (stage)
937+
908938
# Needs approval from QA team that build was tested before merging to latest
909939
- qa-approve:
910940
name: Approved by QA team

electron-builder.json

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"productName": "RedisInsight-preview",
2+
"productName": "RedisInsight-V2",
33
"appId": "org.RedisLabs.RedisInsight-V2",
44
"copyright": "Copyright © 2021 Redis Ltd.",
55
"files": [
@@ -12,7 +12,7 @@
1212
"package.json"
1313
],
1414
"afterSign": "electron-builder-notarize",
15-
"artifactName": "${productName}.${ext}",
15+
"artifactName": "${productName}-${os}-${arch}.${ext}",
1616
"compression": "normal",
1717
"mac": {
1818
"artifactName": "${productName}-${os}-${arch}.${ext}",
@@ -53,10 +53,23 @@
5353
},
5454
"linux": {
5555
"icon": "./resources/icons",
56-
"target": ["deb", "AppImage"],
56+
"target": [
57+
{
58+
"target": "AppImage",
59+
"arch": ["x64"]
60+
},
61+
{
62+
"target": "deb",
63+
"arch": ["x64"]
64+
},
65+
{
66+
"target": "rpm",
67+
"arch": ["x64"]
68+
}
69+
],
5770
"synopsis": "Redis GUI by Redis Ltd.",
5871
"category": "Development",
59-
"artifactName": "${productName}-${os}.${ext}",
72+
"artifactName": "${productName}-${os}-${arch}.${ext}",
6073
"desktop": {
6174
"Name": "RedisInsight",
6275
"Type": "Application",

redisinsight/about-panel.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const ICON_PATH = app.isPackaged
66
: path.join(__dirname, '../resources', 'icon.png');
77

88
export default {
9-
applicationName: 'RedisInsight-preview',
9+
applicationName: 'RedisInsight',
1010
applicationVersion: app.getVersion() || '2.0',
1111
copyright: `Copyright © ${new Date().getFullYear()} Redis Ltd.`,
1212
iconPath: ICON_PATH,

redisinsight/main.dev.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ const bootstrap = async () => {
126126
}
127127

128128
app.setName('RedisInsight');
129-
app.setAppUserModelId('RedisInsight-preview');
129+
app.setAppUserModelId('RedisInsight');
130130
if (process.platform !== 'darwin') {
131131
app.setAboutPanelOptions(AboutPanelOptions);
132132
}

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.0.4-preview",
5+
"version": "2.0.5",
66
"description": "RedisInsight",
77
"main": "./main.prod.js",
88
"author": {

resources/icon-tray-colored.png

-1.66 KB
Loading

resources/icon-tray-white.png

-630 Bytes
Loading

resources/icon.icns

374 KB
Binary file not shown.

resources/icon.ico

-4.28 KB
Binary file not shown.

resources/icon.png

-4.23 KB
Loading

0 commit comments

Comments
 (0)