Skip to content

Commit

Permalink
feat(helm/release-chart): update version for umbrella chart children
Browse files Browse the repository at this point in the history
Signed-off-by: Emilien Escalle <[email protected]>
  • Loading branch information
neilime committed Jan 24, 2025
1 parent b35c022 commit 1603e42
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions actions/helm/release-chart/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,13 @@ runs:
// Update name for root chart
yqUpdates[filePath].push(`.name = "${{ github.event.repository.name }}"`);
// Update version fields
yqUpdates[filePath].push(`.version = "${{ inputs.tag }}"`);
yqUpdates[filePath].push(`.appVersion = "${{ inputs.tag }}"`);
// Update dependencies version where repository starts with file://
yqUpdates[filePath].push(`(.dependencies[] | select(.repository == "file://*")).version = "${{ inputs.tag }}"`);
}
// Update version fields
yqUpdates[filePath].push(`.version = "${{ inputs.tag }}"`);
yqUpdates[filePath].push(`.appVersion = "${{ inputs.tag }}"`);
}
// values.yml files
Expand Down

0 comments on commit 1603e42

Please sign in to comment.