Skip to content

Commit 9aa4134

Browse files
committed
fix(build): comment out vendor update step
1 parent cc9fe95 commit 9aa4134

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

hack/build_deploy.sh

+18-18
Original file line numberDiff line numberDiff line change
@@ -31,26 +31,26 @@ function exec_git() {
3131
./hack/tools_exec.sh git $@
3232
}
3333

34-
branch_name="update-vendor"
35-
git checkout -B $branch_name
34+
# branch_name="update-vendor"
35+
# git checkout -B $branch_name
3636

37-
step "Vendorize components"
38-
exec_go mod vendor
37+
# step "Vendorize components"
38+
# exec_go mod vendor
3939

40-
step "Add vendor files to staging area"
41-
git add vendor -f
40+
# step "Add vendor files to staging area"
41+
# git add vendor -f
4242

43-
step "Commit and push vendor files if there are changes to push"
43+
# step "Commit and push vendor files if there are changes to push"
4444

45-
num_changes=$(git diff --cached --numstat | wc -l)
46-
if [[ $(($num_changes)) == 0 ]]; then
47-
exit 0
48-
fi
45+
# num_changes=$(git diff --cached --numstat | wc -l)
46+
# if [[ $(($num_changes)) == 0 ]]; then
47+
# exit 0
48+
# fi
4949

50-
step "Commit vendor updates and create a merge request"
51-
git commit -m "chore: update vendor folder"
52-
exec_git push -u ${git_origin} ${branch_name} -o merge_request.create \
53-
-o ci.skip \
54-
-o merge_request.target="main" \
55-
-o merge_request.merge_when_pipeline_succeeds
56-
-o merge_request.remove_source_branch
50+
# step "Commit vendor updates and create a merge request"
51+
# git commit -m "chore: update vendor folder"
52+
# exec_git push -u ${git_origin} ${branch_name} -o merge_request.create \
53+
# -o ci.skip \
54+
# -o merge_request.target="main" \
55+
# -o merge_request.merge_when_pipeline_succeeds
56+
# -o merge_request.remove_source_branch

0 commit comments

Comments
 (0)