We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6105d87 commit 849c595Copy full SHA for 849c595
scripts/release_note_generator.sh
@@ -0,0 +1,9 @@
1
+#!/bin/sh
2
+
3
+last_version=$(git tag --sort v:refname | tail -n 2 | head -n 1)
4
+echo "Getting commit history since $last_version"
5
+num_commits=$(git rev-list --count $last_version..HEAD)
6
+echo "Found $num_commits commits since last revision"
7
+git_log=$(git log -n $num_commits --pretty="format:* %s %n")
8
+linked_log=$(echo "Release Notes: \n\n$git_log" | sed -e 's/#\([0-9]*\)/[#\1](github.com\/dropbox\/dropbox-sdk-python\/pull\/\1)/g')
9
+echo "\n\n$linked_log"
update_version.sh scripts/update_version.shupdate_version.sh renamed to scripts/update_version.sh
0 commit comments