Skip to content

Commit

Permalink
chore: synced file(s) with honestbank/.github
Browse files Browse the repository at this point in the history
  • Loading branch information
honestbank-bot committed Dec 19, 2023
1 parent 74b6707 commit 84ecbe6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions catalog-info.generator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ SQUAD_NAME=$(yq e '.jobs.repository-release-prod.with.argocd_state_repo' "$RELEA
SQUAD_NAME=$(echo "$SQUAD_NAME" | cut -c 14-50)
if [[ -z $SQUAD_NAME || "$SQUAD_NAME" == "null" ]]; then
SQUAD_NAME=$(jq -r '.squad_name' $META_DATA_FILE)
else
SQUAD_NAME="$SQUAD_NAME-squad"
fi
GH_TEAM=""
if squad_exist_in_team "$SQUAD_NAME"; then
Expand Down Expand Up @@ -145,7 +147,7 @@ done)
spec:
type: $TYPE
lifecycle: $LIFECYCLE
owner: group:$SQUAD_NAME-squad
owner: group:$SQUAD_NAME
$(
if (( ${#DEPENDENCIES[@]} > 0 )); then
echo "dependsOn:"
Expand All @@ -163,4 +165,3 @@ fixed_content="${file_content%$'\n'}"
echo "$fixed_content" > "$OUTPUT_FILE"

echo "File generated: $OUTPUT_FILE"

0 comments on commit 84ecbe6

Please sign in to comment.