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 3cb2141 commit 2590a5e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +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
target-branch: v2.x
release-type: simple
package-name: ${{ github.event.repository.name }}

- name: PROD - Define release info
if: steps.create_prod_release.outputs.release_created
Expand Down Expand Up @@ -266,11 +266,11 @@ 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 }}
target-branch: v2.x

- name: DEV - Prepare GitHub release
if: needs.build.outputs.do_dev_release
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
*.zip
NcdReportConfig.yml
MspReportConfig.yml
!.release-please-manifest.json

# Files generated by native-image when run locally
/fcli
Expand Down
3 changes: 3 additions & 0 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
".": "2.4.0"
}

0 comments on commit 2590a5e

Please sign in to comment.