Skip to content

Commit dd37c8d

Browse files
committed
Updating github-config
1 parent 3eb4f55 commit dd37c8d

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/create-release.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,11 @@ jobs:
8888
for c_stack in $current_stacks; do
8989
c_stack_name=$(echo "$c_stack" | jq -r '.name')
9090
stack_exists=$(jq --arg c_stack_name "$c_stack_name" '.images[] | select(.name == $c_stack_name)' ./previous_images.json)
91-
c_stack=$(jq --argjson c_stack "$c_stack" '. + {is_new: false}' <<< "$c_stack")
91+
is_new=false
92+
if [[ -z $stack_exists ]]; then
93+
is_new=true
94+
fi
95+
c_stack=$(jq --argjson c_stack "$c_stack" --argjson is_new "$is_new" '. + {is_new: $is_new}' <<< "$c_stack")
9296
stacks=$(jq --argjson c_stack "$c_stack" '. + [$c_stack]' <<< "$stacks")
9397
done
9498
@@ -650,6 +654,7 @@ jobs:
650654
needs: [ create_stack, preparation ]
651655
runs-on: ubuntu-22.04
652656
strategy:
657+
fail-fast: false
653658
matrix:
654659
stacks: ${{ fromJSON(needs.preparation.outputs.stacks) }}
655660
arch: ${{ fromJSON(needs.preparation.outputs.architectures) }}

0 commit comments

Comments
 (0)