Skip to content

Commit

Permalink
Update Release Notes Generator to Fetch Latest Tags (#341)
Browse files Browse the repository at this point in the history
  • Loading branch information
mtruong-dbx authored Apr 8, 2021
1 parent 68f9345 commit a812d56
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/release_note_generator.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/bin/sh

git fetch origin --tags
last_version=$(git tag --sort v:refname | tail -n 2 | head -n 1)
echo "Getting commit history since $last_version"
num_commits=$(git rev-list --count $last_version..HEAD)
Expand Down

0 comments on commit a812d56

Please sign in to comment.