Skip to content

Commit

Permalink
build-repository.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
phlax committed Aug 18, 2024
1 parent e0fa549 commit b99606d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build-repository.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ bazel run @aptly --config=ci -- -config=${PWD}/.aptly config show
REPOS=(focal jammy buster bullseye)
EXISTING_REPOS=$(bazel run @aptly repo list -- -json | jq -r '.[] | .Name')

echo "$EXISTING_REPOS"

for repo in "${REPOS[@]}"; do
if ! echo "$EXISTING_REPOS" | grep -q "^${repo}$"; then
echo "Create repo: ${repo}"
Expand Down

0 comments on commit b99606d

Please sign in to comment.