File tree 3 files changed +39
-1
lines changed
3 files changed +39
-1
lines changed Original file line number Diff line number Diff line change 21
21
pnpm build
22
22
23
23
- uses : JS-DevTools/npm-publish@v2
24
+ id : publish
24
25
with :
25
26
token : ${{ secrets.NPM_TOKEN }}
27
+
28
+ - name : Create Tag
29
+ if : ${{ steps.publish.outputs.type }}
30
+ id : create_tag
31
+ uses : jaywcjlove/create-tag-action@main
32
+ with :
33
+ package-path : ./package.json
34
+
35
+ - name : Generate Changelog
36
+ id : changelog
37
+ uses : jaywcjlove/changelog-generator@main
38
+ if : steps.create_tag.outputs.successful
39
+ with :
40
+ head-ref : ${{steps.create_tag.outputs.version}}
41
+ filter-author : (Uninen|renovate-bot)
42
+ show-emoji : false
43
+
44
+ - name : Get the changelog
45
+ run : echo "${{ steps.changelog.outputs.changelog }}"
46
+
47
+ - name : Create Release
48
+ uses : ncipollo/release-action@v1
49
+ if : steps.create_tag.outputs.successful
50
+ with :
51
+ token : ${{ secrets.GITHUB_TOKEN }}
52
+ name : ${{ steps.create_tag.outputs.version }}
53
+ tag : ${{ steps.create_tag.outputs.version }}
54
+ body : |
55
+ ${{ steps.changelog.outputs.changelog }}
56
+
57
+ Compare changes: ${{ steps.changelog.outputs.compareurl }}
58
+
59
+ Read more from the Changelog: https://github.com/slipmatio/toolbelt/blob/main/CHANGES.md
Original file line number Diff line number Diff line change 1
1
# Changelog
2
2
3
+ ## 0.1.2 (2023-07-17)
4
+
5
+ - CI: create tags and releases on publish.
6
+
3
7
## 0.1.1 (2023-07-17)
4
8
5
9
- Fix: export types correctly.
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @slipmatio/toolbelt" ,
3
- "version" : " 0.1.1 " ,
3
+ "version" : " 0.1.2 " ,
4
4
"main" : " dist/toolbelt.js" ,
5
5
"module" : " dist/toolbelt.mjs" ,
6
6
"exports" : {
You can’t perform that action at this time.
0 commit comments