Skip to content

Commit 7797788

Browse files
committed
CI : version support
1 parent 552a7b4 commit 7797788

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Publish
22
on:
33
push:
4-
branches: [main, master]
4+
branches: [main, master, support/*]
55
jobs:
66
publish:
77
runs-on: ubuntu-latest

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- name: push tag
3030
uses: ad-m/github-push-action@master
3131
with:
32-
branch: master
32+
branch: ${{ github.head_ref }}
3333
tags: true
3434
github_token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
3535
- name: Create a Release

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,4 +113,4 @@ release {
113113
tagTemplate = 'v${version}'
114114
}
115115

116-
release.git.requireBranch.set('master')
116+
release.git.requireBranch.set('support/version-1X')

0 commit comments

Comments
 (0)