Skip to content
This repository has been archived by the owner on Oct 10, 2021. It is now read-only.

Commit

Permalink
fix: Use tag option (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
locona committed Aug 30, 2020
1 parent 05a958c commit 511d184
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

git clone --quiet https://github.com/$REPO &> /dev/null

changelog=$(generate-changelog $* --file -)
tag=$(git tag --sort version:refname | tail -n 2 | head -n 1)
changelog=$(generate-changelog -t "$tag" --file -)

echo $changelog

Expand Down

0 comments on commit 511d184

Please sign in to comment.