-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add script and instructions to generate better release notes (#499)
Here's to hoping this doesn't come back to bite us in the back.
- Loading branch information
Showing
3 changed files
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/bin/bash | ||
|
||
# Get the latest tag on the current branch | ||
latest_tag=$(git describe --tags --abbrev=0) | ||
|
||
# Generate the patch between the latest tag and HEAD | ||
# Extension needs to be txt, as Gemini doesn't let you attach patch files | ||
git format-patch "$latest_tag"..HEAD --stdout > this-release.txt | ||
|
||
echo "Patch generated successfully between $latest_tag and HEAD." |