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 <emilien.escalle@escemi.com>
  • Loading branch information
neilime committed Jul 31, 2024
1 parent f2bc5df commit 786e002
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 786e002

Please sign in to comment.