Skip to content

fix: bundle: createdAt field is always updated when make bundle is run#7089

Open
kunalpjain wants to merge 1 commit intooperator-framework:masterfrom
kunalpjain:fix/issue-6285
Open

fix: bundle: createdAt field is always updated when make bundle is run#7089
kunalpjain wants to merge 1 commit intooperator-framework:masterfrom
kunalpjain:fix/issue-6285

Conversation

@kunalpjain
Copy link
Copy Markdown

Closes #6285

What this fixes

In internal/generate/clusterserviceversion/clusterserviceversion_updaters.go around line 67, wrap the createdAt timestamp assignment in a conditional that only writes the field when other substantive CSV content has changed — preventing noisy git diffs from timestamp-only bundle regenerations.

…s run

Signed-off-by: Kunal Jain <kunaljain@adobe.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bundle: createdAt field is always updated when make bundle is run

1 participant