File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 12
12
steps :
13
13
- uses : actions/checkout@v3
14
14
with :
15
- fetch-depth : 0
15
+ fetch-depth : 0
16
16
- run : |
17
17
./changelog.sh > changelog.md
18
- gh release create ${GITHUB_REF##*/} -F changelog.md
18
+ gh release create ${GITHUB_REF##*/} -F changelog.md
19
+ env:
20
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -4,10 +4,10 @@ for current_tag in $(git tag --sort=-creatordate)
4
4
do
5
5
6
6
if [ " $previous_tag " != 0 ]; then
7
- tag_date=$( git log -1 --pretty=format:' %ad' --date=short ${previous_tag} )
8
7
printf " ## Changelog\n"
9
8
git log ${current_tag} ...${previous_tag} --pretty=format:' * %h %s' --reverse | grep -v Merge
10
- printf " \n\n"
9
+ printf " \n"
10
+ break
11
11
fi
12
12
previous_tag=${current_tag}
13
- done
13
+ done
You can’t perform that action at this time.
0 commit comments