-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
create changelog based on latest commits
- Loading branch information
Showing
2 changed files
with
19 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/bin/bash | ||
|
||
# Set GIT_PAGER to cat to disable paging | ||
export GIT_PAGER=cat | ||
|
||
# Get the last release tag | ||
tag=$(curl --silent "https://api.github.com/repos/firsttris/ccu-addon-mui/releases/latest" | jq -r .tag_name) | ||
|
||
# Get the SHA of the last release | ||
sha=$(git rev-list -n 1 $tag) | ||
|
||
# Get the commits since the last release | ||
git log --pretty=format:"%h %s" $sha..HEAD |
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