From cc007a46119ff90977a79bdafc074ec90518a874 Mon Sep 17 00:00:00 2001 From: csviri Date: Wed, 24 Nov 2021 14:58:04 +0100 Subject: [PATCH 1/2] fix: fixing maven version update --- .github/workflows/release.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d5de5b7996..e25b3bee29 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -59,7 +59,14 @@ jobs: git commit -m "Set new SNAPSHOT version into pom files." -a env: RELEASE_VERSION: ${{ github.event.release.tag_name }} - - name: Push changes + - name: Push changes v1 uses: ad-m/github-push-action@master + if: ${{ startsWith(github.event.release.tag_name, 'v1.' ) }} + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + branch: "v1" + - name: Push changes v2 + uses: ad-m/github-push-action@master + if: ${{ startsWith(github.event.release.tag_name, 'v2.' ) }} with: github_token: ${{ secrets.GITHUB_TOKEN }} From ce06edfaa1fa3042a9346b81dfaefb696b010785 Mon Sep 17 00:00:00 2001 From: csviri Date: Wed, 24 Nov 2021 15:04:06 +0100 Subject: [PATCH 2/2] fix: pr on v1 --- .github/workflows/pr.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 936c95fb10..63ea4ee489 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -8,7 +8,7 @@ concurrency: cancel-in-progress: true on: pull_request: - branches: [ master, v2 ] + branches: [ master, v1 ] workflow_dispatch: jobs: build: