Skip to content

Commit

Permalink
fix(apps/prod/tekton/configs/tasks): update task `create-pr-to-bump-t…
Browse files Browse the repository at this point in the history
…ikv-version` (#1159)

Signed-off-by: wuhuizuo <wuhuizuo@126.com>

Signed-off-by: wuhuizuo <wuhuizuo@126.com>
  • Loading branch information
wuhuizuo authored Jun 12, 2024
1 parent 5df1ba6 commit 44485a5
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ spec:
cargo set-version --package tikv $(cat /workspace/inner-results-version)
if git diff --exit-code --name-status Cargo.toml; then
echo "🤷 No need to update the go.mod file, they are updated."
exit 1
exit 1
fi
- name: create-pr
image: bitnami/git:2.43.0
Expand Down Expand Up @@ -117,11 +117,11 @@ spec:
EOF
base_branch="$(cat /workspace/inner-results-branch)"
label_options="--label status/can-merge"
label_options="--label lgtm --label approved"
if [ "$base_branch" != "master" ]; then
label_options="$label_options --label cherry-pick-approved"
fi
gh pr create -B "$base_branch" -H "$head_branch" -t "$commit_msg" -F pr_body.txt $label_options
workspaces:
- name: github
Expand Down

0 comments on commit 44485a5

Please sign in to comment.