Skip to content

Commit

Permalink
Update sync-pipelines-manifests.sh
Browse files Browse the repository at this point in the history
Signed-off-by: juliusvonkohout <[email protected]>
  • Loading branch information
juliusvonkohout committed Apr 30, 2024
1 parent 4573d34 commit bb6a2b4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion hack/sync-pipelines-manifests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,16 +42,18 @@ echo "Checking out in $SRC_DIR to $COMMIT..."

# Checkout the KFP repository
mkdir -p $SRC_DIR
cd $SRC_DIR/pipelines
cd $SRC_DIR
if [ ! -d "pipelines/.git" ]; then
git clone https://github.com/kubeflow/pipelines.git
fi
cd $SRC_DIR/pipelines
if ! git rev-parse --verify --quiet $COMMIT; then
git checkout -b $COMMIT
else
git checkout $COMMIT
fi


if [ -n "$(git status --porcelain)" ]; then
echo "WARNING: You have uncommitted changes"
fi
Expand Down

0 comments on commit bb6a2b4

Please sign in to comment.