Skip to content

armgit / kaneo

Public Imported from GitHub
0

⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.

fix(ci): resolving concern from qodo/coderabbit

justin2a13e6e6c977
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index f24e5f589..5e26f7e6c 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -68,8 +68,11 @@ jobs:
- name: Update Chart.yaml appVersion and chart version
run: |
- sed -i "s/^version: .*/version: ${{ steps.new_version.outputs.version }}/" charts/kaneo/Chart.yaml
- sed -i 's/^appVersion: ".*"/appVersion: "${{ steps.new_version.outputs.version }}"/' charts/kaneo/Chart.yaml
+ VERSION="${{ steps.new_version.outputs.version }}"
+ sed -i -E "s/^version:[[:space:]]*.*/version: ${VERSION}/" charts/kaneo/Chart.yaml
+ sed -i -E "s/^appVersion:[[:space:]]*\"?[^\"]*\"?.*/appVersion: \"${VERSION}\"/" charts/kaneo/Chart.yaml
+ grep -q "^version: ${VERSION}$" charts/kaneo/Chart.yaml
+ grep -q "^appVersion: \"${VERSION}\"$" charts/kaneo/Chart.yaml
- name: Generate changelog
run: |