File tree Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change 25
25
| wget -qi -
26
26
tar -xvzf commitlog-linux-amd64.tar.gz
27
27
chmod +x commitlog
28
- export CHANGELOG="$(./commitlog .)"
29
- CHANGELOG="${CHANGELOG//'%'/'%25'}"
30
- CHANGELOG="${CHANGELOG//$'\n'/'%0A'}"
31
- CHANGELOG="${CHANGELOG//$'\r'/'%0D'}"
32
- echo "$CHANGELOG"
33
- echo "::set-output name=changelog::$(echo "$CHANGELOG")"
28
+ ./commitlog . > CHANGELOG.txt
34
29
- name : Generate build files
35
30
uses : thatisuday/go-cross-build@v1
36
31
with :
43
38
uses : softprops/action-gh-release@v1
44
39
if : startsWith(github.ref, 'refs/tags/')
45
40
with :
46
- body : ${{ steps.generate_log.outputs.changelog }}
41
+ body_path : CHANGELOG.txt
47
42
files : dist/*
48
43
env :
49
44
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change
1
+ CHANGELOG.md
You can’t perform that action at this time.
0 commit comments