Skip to content

Commit

Permalink
ci: Rename branch main->v2.x for consistency with v1.x
Browse files Browse the repository at this point in the history
  • Loading branch information
rsenden committed Aug 13, 2024
1 parent a0632c9 commit 1a910a2
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,12 @@ jobs:

- name: PROD - Prepare GitHub release
id: create_prod_release
uses: GoogleCloudPlatform/release-please-action@v3
uses: googleapis/release-please-action@v4
if: github.ref == 'refs/heads/v2.x'
with:
command: github-release
skip-github-pull-request: true
release-type: simple
package-name: ${{ github.event.repository.name }}
default-branch: v2.x

- name: PROD - Define release info
if: steps.create_prod_release.outputs.release_created
Expand Down Expand Up @@ -267,12 +266,12 @@ jobs:

- name: PROD - Prepare release PR
if: github.ref == 'refs/heads/v2.x'
uses: GoogleCloudPlatform/release-please-action@v3
uses: googleapis/release-please-action@v4
with:
command: release-pr
skip-github-release: true
release-type: simple
package-name: ${{ github.event.repository.name }}
default-branch: v2.x
target-branch: v2.x

- name: DEV - Prepare GitHub release
if: needs.build.outputs.do_dev_release
Expand Down

0 comments on commit 1a910a2

Please sign in to comment.