File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -30,12 +30,18 @@ jobs:
30
30
LATEST_TAG=`cat releases.json | jq -r '.[0].tag_name'`
31
31
if [[ $GITHUB_REF == refs/tags/* ]]; then
32
32
NEXT_TAG=`echo ${GITHUB_REF} | grep -E -o '[0-9]+\.[0-9]+\.[0-9]+'`
33
- echo "## Changes from ${LATEST_TAG} to ${NEXT_TAG}" | tee release_note.md
34
- git log --pretty="%h - %s" ${LATEST_TAG}..${NEXT_TAG} | tee -a release_note.md
33
+ echo "# Release ${NEXT_TAG}" > release_note.md
34
+ echo "" >> release_note.md
35
+ echo "## Changes from \`${LATEST_TAG}\` to \`${NEXT_TAG}\`" >> release_note.md
36
+ echo "" >> release_note.md
37
+ git log --pretty="* %h - %s" ${LATEST_TAG}..${NEXT_TAG} | tee -a release_note.md
35
38
else
36
39
HEAD_HASH=`git rev-parse --short HEAD`
37
- echo "## Changes from ${LATEST_TAG} to ${HEAD_HASH}" | tee release_note.md
38
- git log --pretty="%h - %s" ${LATEST_TAG}..HEAD | tee -a release_note.md
40
+ echo "# Development Build" > release_note.md
41
+ echo "" >> release_note.md
42
+ echo "## Changes from \`${LATEST_TAG}\` to \`${HEAD_HASH}\`" >> release_note.md
43
+ echo "" >> release_note.md
44
+ git log --pretty="* %h - %s" ${LATEST_TAG}..HEAD | tee -a release_note.md
39
45
fi
40
46
- name : Setup Xcode
41
47
uses : maxim-lobanov/setup-xcode@v1
You can’t perform that action at this time.
0 commit comments