Skip to content

Commit cedbcf3

Browse files
committed
fixup! Collect release notes from master branch
1 parent a9085a8 commit cedbcf3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/release.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,8 @@ if [[ $CLIENT_VERSION != *"snapshot"* ]]; then
140140
git pull -X theirs upstream master --no-edit
141141

142142
# Collect release notes from master branch
143-
start_sha=$(git log upstream/release-19.0..upstream/master | grep ^commit | tail -n1 | sed 's/commit //g')
144-
end_sha=$(git log upstream/release-19.0..upstream/master | grep ^commit | head -n1 | sed 's/commit //g')
143+
start_sha=$(git log ${remote_branch}..upstream/master | grep ^commit | tail -n1 | sed 's/commit //g')
144+
end_sha=$(git log ${remote_branch}..upstream/master | grep ^commit | head -n1 | sed 's/commit //g')
145145
output="/tmp/python-master-relnote.md"
146146
release-notes --dependencies=false --org kubernetes-client --repo python --start-sha $start_sha --end-sha $end_sha --output $output
147147
sed -i 's/(\[\#/(\[kubernetes-client\/python\#/g' $output

0 commit comments

Comments
 (0)