Skip to content

Commit 74009fd

Browse files
author
Artem
committed
fix repack scripts
1 parent b8a6d6d commit 74009fd

File tree

3 files changed

+9
-10
lines changed

3 files changed

+9
-10
lines changed

.circleci/config.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -481,8 +481,7 @@ jobs:
481481
- run:
482482
name: Repack AppImage to tar
483483
command: |
484-
ARCH=x64 ./.circleci/redisstack/app-image.repack.sh
485-
# ARCH=arm64 ./.circleci/redisstack/app-image.repack.sh
484+
ARCH=x86_64 ./.circleci/redisstack/app-image.repack.sh
486485
- run:
487486
name: Build sources
488487
command: ./.circleci/redisstack/build.sh

.circleci/redisstack/app-image.repack.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
#!/bin/bash
22

3-
ARCH=${ARCH:-x64}
3+
ARCH=${ARCH:-x86_64}
44
WORKING_DIRECTORY=$(pwd)
5-
SOURCE_APP=${SOURCE_APP:-"RedisInsight-preview-linux.AppImage"}
6-
APP_FOLDER_NAME="RedisInsight-preview-linux"
7-
TAR_NAME="RedisInsight-preview-app-linux.$ARCH.tar.gz"
5+
SOURCE_APP=${SOURCE_APP:-"RedisInsight-V2-linux-$ARCH.AppImage"}
6+
APP_FOLDER_NAME="RedisInsight-V2-linux"
7+
TAR_NAME="RedisInsight-V2-app-linux.$ARCH.tar.gz"
88
TMP_FOLDER="/tmp/RedisInsight-app-$ARCH"
99

1010
rm -rf "$TMP_FOLDER"

.circleci/redisstack/dmg.repack.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@
22

33
ARCH=${ARCH:-x64}
44
WORKING_DIRECTORY=$(pwd)
5-
TAR_NAME="RedisInsight-preview-app-darwin.$ARCH.tar.gz"
6-
APP_FOLDER_NAME="RedisInsight-preview.app"
5+
TAR_NAME="RedisInsight-V2-app-darwin.$ARCH.tar.gz"
6+
APP_FOLDER_NAME="RedisInsight-V2.app"
77
TMP_FOLDER="/tmp/$APP_FOLDER_NAME"
88

99
rm -rf "$TMP_FOLDER"
1010

1111
mkdir -p "$WORKING_DIRECTORY/release/redisstack"
1212
mkdir -p "$TMP_FOLDER"
1313

14-
hdiutil attach "./release/RedisInsight-preview-mac-$ARCH.dmg"
15-
cp -a /Volumes/RedisInsight-*/RedisInsight-preview.app "/tmp"
14+
hdiutil attach "./release/RedisInsight-V2-mac-$ARCH.dmg"
15+
cp -a /Volumes/RedisInsight-*/RedisInsight-V2.app "/tmp"
1616
cd "/tmp" || exit 1
1717
tar -czvf "$TAR_NAME" "$APP_FOLDER_NAME"
1818
cp "$TAR_NAME" "$WORKING_DIRECTORY/release/redisstack/"

0 commit comments

Comments
 (0)