Skip to content

Commit 50dfb11

Browse files
committed
nit fixes for argument names and qouting variables
1 parent 0d77b6b commit 50dfb11

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

buildkite/scripts/release/manager.sh

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ function get_artifact_with_suffix() {
179179
echo "mina-rosetta-$__network"
180180
;;
181181
mina-archive)
182-
echo "mina-$__network"
182+
echo "mina-archive-$__network"
183183
;;
184184
*)
185185
echo "$__artifact"
@@ -739,7 +739,7 @@ function publish(){
739739
$__dry_run \
740740
$__backend \
741741
$__debian_repo \
742-
$__debian_sign_key
742+
"$__debian_sign_key"
743743
fi
744744

745745
if [[ $__only_debians == 0 ]]; then
@@ -760,7 +760,7 @@ function publish(){
760760
$__dry_run \
761761
$__backend \
762762
$__debian_repo \
763-
$__debian_sign_key
763+
"$__debian_sign_key"
764764
fi
765765

766766
if [[ $__only_debians == 0 ]]; then
@@ -781,7 +781,7 @@ function publish(){
781781
$__dry_run \
782782
$__backend \
783783
$__debian_repo \
784-
$__debian_sign_key
784+
"$__debian_sign_key"
785785
fi
786786

787787
if [[ $__only_debians == 0 ]]; then
@@ -802,7 +802,7 @@ function publish(){
802802
$__dry_run \
803803
$__backend \
804804
$__debian_repo \
805-
$__debian_sign_key
805+
"$__debian_sign_key"
806806
fi
807807

808808
if [[ $__only_debians == 0 ]]; then
@@ -1279,9 +1279,12 @@ function verify(){
12791279

12801280
;;
12811281
mina-archive)
1282+
local __artifact_full_name
1283+
__artifact_full_name=$(get_artifact_with_suffix $artifact $network)
1284+
12821285
if [[ $__only_dockers == 0 ]]; then
12831286
echo " 📋 Verifying: $artifact debian on $__channel channel with $__version version for $__codename codename"
1284-
1287+
12851288
prefix_cmd "$SUBCOMMAND_TAB" $SCRIPTPATH/../../../scripts/debian/verify.sh \
12861289
-p $artifact \
12871290
--version $__version \
@@ -1294,8 +1297,6 @@ function verify(){
12941297
fi
12951298

12961299
if [[ $__only_debians == 0 ]]; then
1297-
local __artifact_full_name
1298-
__artifact_full_name=$(get_artifact_with_suffix $artifact "")
12991300

13001301
local __suffix_arg=""
13011302
if [[ -n "$__docker_suffix" ]]; then

scripts/debian/verify.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ case $PACKAGE in
6868
*) echo "❌ Unknown package passed: $PACKAGE"; exit 1;;
6969
esac
7070

71-
if [[ "$SIGNED" ]]; then
71+
if [[ "$SIGNED" == 1 ]]; then
7272
SIGNED=" (wget -q https://'$REPO'/repo-signing-key.asc -O- | apt-key add) && apt-get update > /dev/null && "
7373
else
7474
SIGNED=""

0 commit comments

Comments
 (0)