Skip to content

Commit 7fb48ac

Browse files
authored
Add versions bumpupper for extension
1 parent b8aa53c commit 7fb48ac

File tree

1 file changed

+17
-3
lines changed

1 file changed

+17
-3
lines changed

.github/workflows/build.yml

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ name: Gradle Package
55

66
on:
77
push:
8-
branches: 'master'
9-
# tags: '*'
8+
tags: 'v*.*.*'
109

1110
jobs:
1211
build:
@@ -42,8 +41,23 @@ jobs:
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

0 commit comments

Comments
 (0)