Skip to content

Commit

Permalink
(fix): change gha to target main (opendatahub-io#1448)
Browse files Browse the repository at this point in the history
(cherry picked from commit bc10dfc)
  • Loading branch information
AjayJagan authored and zdtsw committed Jan 2, 2025
1 parent ec9bc1a commit 2a44292
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/pre-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,19 +38,19 @@ jobs:
skopeo copy docker://quay.io/${{ secrets.QUAY_ORG }}/opendatahub-operator:pr-${{ github.event.pull_request.number }} docker://quay.io/${{ secrets.QUAY_ORG }}/opendatahub-operator:v${{ env.VERSION }}
echo "Successfully updated tag to quay.io with version: v${{ env.VERSION }}"
- uses: actions/checkout@v4
- name: Create version update pr in incubation
- name: Create version update pr in main
uses: ./.github/actions/update-release-version
with:
version: ${{ env.VERSION }}
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: "Update version to ${{ env.VERSION }}"
title: "Update version to ${{ env.VERSION }}"
branch-name: "odh-release/version-update"
base-branch: incubation
base-branch: main
- name: Create release branch
run: |
git fetch origin incubation:incubation
git checkout incubation
git fetch origin main:main
git checkout main
git checkout -b odh-${{ env.VERSION }}
git push -f origin odh-${{ env.VERSION }}
- uses: ./.github/actions/update-manifest-branches
Expand Down

0 comments on commit 2a44292

Please sign in to comment.