File tree Expand file tree Collapse file tree 2 files changed +17
-5
lines changed Expand file tree Collapse file tree 2 files changed +17
-5
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
set -e
3
3
4
- cd ./release/web
5
-
6
- for f in * .tar.gz; do
7
- sha256sum " $f " > " $f .sha256"
8
- done
4
+ find ./release -type f -name ' *.tar.gz' -execdir sh -c ' sha256sum "$1" > "$1.sha256"' _ {} \;
Original file line number Diff line number Diff line change @@ -646,6 +646,10 @@ jobs:
646
646
type : enum
647
647
default : stage
648
648
enum : ['stage', 'prod', 'dev']
649
+ redisstack :
650
+ description : Build RedisStack archives
651
+ type : boolean
652
+ default : true
649
653
target :
650
654
description : Build target
651
655
type : string
@@ -710,6 +714,15 @@ jobs:
710
714
rm -rf release/mac
711
715
mv release/mas-universal/RedisInsight-mac-universal-mas.pkg release/RedisInsight-mac-universal-mas.pkg
712
716
no_output_timeout : 60m
717
+ - when :
718
+ condition :
719
+ equal : [ true, << parameters.redisstack >> ]
720
+ steps :
721
+ - run :
722
+ name : Repack dmg to tar
723
+ command : |
724
+ ARCH=x64 ./.circleci/redisstack/dmg.repack.sh
725
+ ARCH=arm64 ./.circleci/redisstack/dmg.repack.sh
713
726
- persist_to_workspace :
714
727
root : .
715
728
paths :
@@ -718,6 +731,7 @@ jobs:
718
731
- release/RedisInsight*.dmg.blockmap
719
732
- release/RedisInsight*.pkg
720
733
- release/*-mac.yml
734
+ - release/redisstack
721
735
windows :
722
736
executor :
723
737
name : win/default
@@ -961,6 +975,7 @@ jobs:
961
975
--include "RedisInsight*" \
962
976
--include "web/*" \
963
977
--include "docker/*"
978
+ --include "redisstack/*"
964
979
965
980
release-aws-private :
966
981
executor : linux-executor
@@ -1334,6 +1349,7 @@ workflows:
1334
1349
- macosx :
1335
1350
name : Build app - MacOS (stage)
1336
1351
env : stage
1352
+ redisstack : false
1337
1353
target : << pipeline.parameters.mac >>
1338
1354
requires :
1339
1355
- Setup build (stage)
You can’t perform that action at this time.
0 commit comments