Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion .github/workflows/create-release-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ jobs:
- name: Get current version
id: current_version
run: |
version=$(grep '^version:' deploy/helm/rag/Chart.yaml | awk '{print $2}')
# Get version from main branch since that's the source of truth for releases
git fetch origin main
version=$(git show origin/main:deploy/helm/rag/Chart.yaml | grep '^version:' | awk '{print $2}')
echo "version=$version" >> $GITHUB_OUTPUT

- name: Calculate new version
Expand Down Expand Up @@ -71,6 +73,16 @@ jobs:
git checkout -b release/v${{ steps.new_version.outputs.version }}
git add deploy/helm/rag/Chart.yaml deploy/helm/rag/values.yaml
git commit -m "chore: bump version to ${{ steps.new_version.outputs.version }}"

# Merge main into release branch to pre-resolve conflicts
git fetch origin main
git merge origin/main --no-edit || {
# If conflicts occur, take our (release branch) version for Chart.yaml and values.yaml
git checkout --ours deploy/helm/rag/Chart.yaml deploy/helm/rag/values.yaml
git add deploy/helm/rag/Chart.yaml deploy/helm/rag/values.yaml
git commit --no-edit
}

git push origin release/v${{ steps.new_version.outputs.version }}

- name: Create Pull Request
Expand Down
4 changes: 2 additions & 2 deletions deploy/helm/rag/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ apiVersion: v2
name: rag
description: A Helm chart for Kubernetes
type: application
version: 0.2.24
appVersion: "0.2.24"
version: 0.2.25
appVersion: "0.2.25"

dependencies:
- name: pgvector
Expand Down
2 changes: 1 addition & 1 deletion deploy/helm/rag/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ replicaCount: 1
image:
repository: quay.io/rh-ai-quickstart/llamastack-dist-ui
pullPolicy: Always
tag: 0.2.24
tag: 0.2.25

service:
type: ClusterIP
Expand Down