Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
ba6328d5
Unverified
Commit
ba6328d5
authored
Oct 04, 2016
by
Jess Frazelle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hack: Update cherry-pick script to include original PR subject
Signed-off-by:
Jess Frazelle
<
acidburn@google.com
>
parent
d26b4ca2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
cherry_pick_pull.sh
hack/cherry_pick_pull.sh
+6
-0
No files found.
hack/cherry_pick_pull.sh
View file @
ba6328d5
...
...
@@ -111,6 +111,7 @@ function return_to_kansas {
}
trap
return_to_kansas EXIT
SUBJECTS
=()
function
make-a-pr
()
{
local
rel
=
"
$(
basename
"
${
BRANCH
}
"
)
"
echo
...
...
@@ -125,6 +126,8 @@ function make-a-pr() {
Automated cherry pick of
${
PULLSUBJ
}
Cherry pick of
${
PULLSUBJ
}
on
${
rel
}
.
$(
printf
'%s\n'
"
${
SUBJECTS
[@]
}
"
)
EOF
hub pull-request
-F
"
${
prtext
}
"
-h
"
${
GITHUB_USER
}
:
${
NEWBRANCH
}
"
-b
"kubernetes:
${
rel
}
"
...
...
@@ -165,6 +168,9 @@ for pull in "${PULLS[@]}"; do
exit
1
fi
}
# set the subject
subject
=
$(
grep
"^Subject"
"/tmp/
${
pull
}
.patch"
|
sed
-e
's/Subject: \[PATCH\] //g'
)
SUBJECTS+
=(
"#
${
pull
}
:
${
subject
}
"
)
done
gitamcleanup
=
false
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment