File tree Expand file tree Collapse file tree 2 files changed +7
-12
lines changed Expand file tree Collapse file tree 2 files changed +7
-12
lines changed Original file line number Diff line number Diff line change @@ -26,17 +26,15 @@ jobs:
26
26
run : |
27
27
make platfrom-build
28
28
29
- - name : Generate Changelog
29
+ - name : Build Changelog
30
+ id : build_changelog
31
+ uses : mikepenz/release-changelog-builder-action@{latest-release}
30
32
env :
31
33
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
32
- run : make changelog
33
34
34
- - name : Release to GitHub
35
- if : startsWith(github.ref, 'refs/tags/')
36
- uses : docker://antonyurchenko/git-release:latest
37
- env :
38
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
39
- DRAFT_RELEASE : " true"
35
+ - name : Create Release
36
+ uses : softprops/action-gh-release
40
37
with :
41
- args : |
38
+ body : ${{steps.github_release.outputs.changelog}}
39
+ files : |
42
40
.bin/*
Original file line number Diff line number Diff line change @@ -134,10 +134,7 @@ endif
134
134
-v $(CURDIR):/usr/local/src/app \
135
135
-w /usr/local/src/app githubchangeloggenerator/github-changelog-generator \
136
136
--user doitintl --project secrets-init \
137
- --output CHANGELOG.tmp.md \
138
137
--token $(GITHUB_TOKEN)
139
- $Q tail -n +3 CHANGELOG.tmp.md > CHANGELOG.md
140
- $Q rm CHANGELOG.tmp.md
141
138
142
139
143
140
.PHONY : clean
You can’t perform that action at this time.
0 commit comments