Skip to content

Commit

Permalink
Fix Release Note links to include https:// for absolute redirect (#187)
Browse files Browse the repository at this point in the history
  • Loading branch information
rogebrd committed Oct 5, 2020
1 parent 07c4d19 commit 150391e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/release_note_generator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ echo "Getting commit history since $last_version"
num_commits=$(git rev-list --count $last_version..HEAD)
echo "Found $num_commits commits since last revision"
git_log=$(git log -n $num_commits --pretty="format:* %s %n")
linked_log=$(echo "Release Notes: \n\n$git_log" | sed -e 's/#\([0-9]*\)/[#\1](github.com\/dropbox\/stone\/pull\/\1)/g')
linked_log=$(echo "Release Notes: \n\n$git_log" | sed -e 's/#\([0-9]*\)/[#\1](https:\/\/github.com\/dropbox\/stone\/pull\/\1)/g')
echo "\n\n$linked_log"

0 comments on commit 150391e

Please sign in to comment.