Skip to content
This repository was archived by the owner on Jul 16, 2021. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,7 @@ after_success:
docker push bitnami/monocular-api
docker push bitnami/monocular-ui

if [[ -n "$TRAVIS_TAG" ]]; then
bash ./scripts/repo-sync.sh true
fi
./scripts/repo-sync.sh
fi
- bash <(curl -s https://codecov.io/bash)

Expand Down
2 changes: 1 addition & 1 deletion scripts/repo-sync.sh
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ fi

# Skip repository sync if chart already exists in index
CHART_VERSION=$(grep '^version:' $CHART_PATH/Chart.yaml | awk '{print $2}')
if ! grep -q "version: $CHART_VERSION" $BUILD_DIR/index.yaml; then
if grep -q "version: $CHART_VERSION" $BUILD_DIR/index.yaml; then
log "Chart version $CHART_VERSION already exists... skipping"
exit 0
fi
Expand Down