Skip to content

Commit

Permalink
Add breadcrumbs to release notes (openshift#820)
Browse files Browse the repository at this point in the history
  • Loading branch information
djzager authored and shawn-hurley committed Mar 8, 2018
1 parent f811bfb commit 4c080f1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions scripts/release_notes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,19 @@ generate_notes () {
local start=$1
local end=HEAD
local commits=$(git --no-pager log --reverse --pretty=format:"%s" "$start".."$end")
local first_commit=$(git rev-parse "$start")
local last_commit=$(git rev-parse "$end")
local date=$(date +%Y%m%d)
local notes_file=$(mktemp)
local bug_file=$(mktemp)
local other_file=$(mktemp)

cat <<EOF >> $notes_file
# Release notes for $date
* First Commit: $first_commit
* Last Commit: $last_commit
EOF

cat <<EOF >> $bug_file
Expand Down

0 comments on commit 4c080f1

Please sign in to comment.