@@ -21,12 +21,52 @@ jobs:
21
21
- run : npm i markdown-to-html-cli -g
22
22
- run : markdown-to-html --output build/index.html
23
23
24
+ - name : Generate Contributors Images
25
+ uses : jaywcjlove/github-action-contributors@main
26
+ with :
27
+ filter-author : (renovate\[bot\]|renovate-bot|dependabot\[bot\])
28
+ output : build/CONTRIBUTORS.svg
29
+ avatarSize : 42
30
+
31
+ - name : Create Tag
32
+ id : create_tag
33
+ uses : jaywcjlove/create-tag-action@main
34
+
35
+ - name : get tag version
36
+ id : tag_version
37
+ uses : jaywcjlove/changelog-generator@main
38
+
24
39
- name : Deploy
25
40
uses : peaceiris/actions-gh-pages@v3
26
41
with :
27
42
github_token : ${{ secrets.GITHUB_TOKEN }}
28
43
publish_dir : ./build
29
44
45
+ - name : Generate Changelog
46
+ id : changelog
47
+ uses : jaywcjlove/changelog-generator@main
48
+ with :
49
+ head-ref : ${{steps.create_tag.outputs.version}}
50
+ filter-author : (renovate-bot|Renovate Bot)
51
+ filter : ' [R|r]elease[d]\s+[v|V]\d(\.\d+){0,2}'
52
+
53
+ - name : Create Release
54
+ uses : jaywcjlove/create-tag-action@main
55
+ with :
56
+ package-path : ./package.json
57
+ release : true
58
+ body : |
59
+ [](https://uiwjs.github.io/npm-unpkg/#/pkg/loading-cli@${{steps.changelog.outputs.version}}/file/README.md)
60
+
61
+ Documentation ${{ steps.changelog.outputs.tag }}: https://raw.githack.com/uiwjs/react-md-editor/${{ steps.changelog.outputs.gh-pages-short-hash }}/index.html
62
+ Comparing Changes: ${{ steps.changelog.outputs.compareurl }}
63
+
64
+ ```bash
65
+ npm i loading-cli@${{steps.changelog.outputs.version}}
66
+ ```
67
+
68
+ ${{ steps.changelog.outputs.changelog }}
69
+
30
70
- run : npm publish --access public --provenance
31
71
name : 📦 loading-cli publish to NPM
32
72
working-directory : core
0 commit comments