diff --git a/.github/workflows/update-chart.yaml b/.github/workflows/update-chart.yaml index f225b5b..d79817c 100644 --- a/.github/workflows/update-chart.yaml +++ b/.github/workflows/update-chart.yaml @@ -89,22 +89,23 @@ jobs: sudo mv /tmp/vendir /usr/local/bin/vendir && chmod a+x /usr/local/bin/vendir - name: Run update run: | - # Define chart_dir + # Define chart name. The Makefile prepends the "helm/" prefix itself, + # so APPLICATION must be the bare chart name without it. repository="${{ needs.gather_facts.outputs.repo_name }}" - chart="helm/${repository}" + chart="${repository}" # Check chart directory. - if [ ! -d "${chart}" ] + if [ ! -d "helm/${chart}" ] then - echo "Could not find chart directory '${chart}', removing app suffix." + echo "Could not find chart directory 'helm/${chart}', removing app suffix." # Remove app suffix. - chart="helm/${repository%-app}" + chart="${repository%-app}" - if [ ! -d "${chart}" ] + if [ ! -d "helm/${chart}" ] then # Print error. - echo "Could not find chart directory '${chart}', doing nothing." + echo "Could not find chart directory 'helm/${chart}', doing nothing." exit 1 fi fi diff --git a/CHANGELOG.md b/CHANGELOG.md index 60e41e3..bd1b7a9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), however this project does not use Semantic Versioning and there are no releases. Instead this file uses a date-based structure. +## 2026-06-08 + +### Fixed + +- `update-chart` now uses the bare chart name instead of `helm/{{chart-name}}` since a new [devctl update](https://github.com/giantswarm/devctl/pull/1837) broke the current workflow. + ## 2026-05-27 ### Added