File tree Expand file tree Collapse file tree 1 file changed +17
-3
lines changed Expand file tree Collapse file tree 1 file changed +17
-3
lines changed Original file line number Diff line number Diff line change @@ -5,8 +5,7 @@ name: Gradle Package
55
66on :
77 push :
8- branches : ' master'
9- # tags: '*'
8+ tags : ' v*.*.*'
109
1110jobs :
1211 build :
4241 - uses : " marvinpinto/action-automatic-releases@latest"
4342 with :
4443 repo_token : " ${{ secrets.GITHUB_TOKEN }}"
45- automatic_release_tag : " latest "
44+ automatic_release_tag : ${{ github.ref_name }}
4645 prerelease : false
4746 title : ${{ github.ref_name }}
4847 files : ' gh-echo*'
48+ bumpupextension :
49+ runs-on : ubuntu-latest
50+ needs : publish
51+ steps :
52+ - uses : actions/checkout@v2
53+ with :
54+ repository : DarkWeird/gh-echojava
55+ ref : master
56+ token : ${{github.token}}
57+ - run : echo '${{ github.ref_name }}' > tag
58+ - run : git commit -a -m '[Automatic] bumpup version to ${{ github.ref_name }}'
59+ - run : git push
60+
61+
62+
4963
You can’t perform that action at this time.
0 commit comments