Skip to content

Commit 7643daf

Browse files
committed
ci: fix version check
1 parent f21acad commit 7643daf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/check_charts.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- name: Check Version
3030
run: |
3131
current_version=$(grep '^version=' pyproject.toml | cut -f2 -d= | tr -d ' ' | tr -d '"')
32-
app_version=$(grep 'appVersion:' deployment/k8s/charts/Chart.yaml | cut -f2 -d: | tr -d ' ')
32+
app_version=$(grep 'appVersion:' deployment/k8s/charts/Chart.yaml | cut -f2 -d: | tr -d ' ' | tr -d '"' | cut -d'#' -f1)
3333
if [[ "$current_version" != "$app_version" ]]; then
3434
echo "❌ current version from pyproject.toml ($current_version) and appVersion from Chart.yaml ($app_version) differs";
3535
exit 1;

0 commit comments

Comments
 (0)