File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Realse Version
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
7
+ paths-ignore :
8
+ - ' README.md'
9
+ - ' CONTRIBUTING.md'
10
+ - ' .gitignore'
11
+ - ' .github/**'
12
+
13
+ jobs :
14
+ releaseGithub :
15
+ if : github.ref == 'refs/heads/main'
16
+ runs-on : ubuntu-22.04
17
+ permissions :
18
+ contents : write
19
+ pull-requests : write
20
+ steps :
21
+ - name : Bump version and push tag
22
+ id : bump
23
+ uses : mathieudutour/github-tag-action@v6.2
24
+ with :
25
+ github_token : ${{ secrets.GITHUB_TOKEN }}
26
+ default_bump : patch
27
+
28
+ - name : Build Changelog
29
+ id : github_release
30
+ uses : mikepenz/release-changelog-builder-action@v5
31
+ env :
32
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
33
+ fromTag : ${{ steps.bump.outputs.previous_tag }}
34
+ toTag : ${{ steps.bump.outputs.new_tag }}
35
+
36
+ - name : Create Release
37
+ uses : softprops/action-gh-release@v2
38
+ with :
39
+ body : ${{ steps.bump.outputs.changelog }}
40
+ tag_name : ${{ steps.bump.outputs.new_tag }}
You can’t perform that action at this time.
0 commit comments