Skip to content

fix for reading sha256 hash instead of sha1 from releases#577

Merged
jochenehret merged 1 commit into
cloudfoundry:mainfrom
sap-contributions:sha256_fix
Oct 1, 2025
Merged

fix for reading sha256 hash instead of sha1 from releases#577
jochenehret merged 1 commit into
cloudfoundry:mainfrom
sap-contributions:sha256_fix

Conversation

@dtasSap

@dtasSap dtasSap commented Oct 1, 2025

Copy link
Copy Markdown
Contributor

No description provided.

// Bosh.io release
fmt.Println("Missing commit_sha file. Assuming bosh.io release...")
sha1, shaErr := os.ReadFile(filepath.Join(releasePath, "sha1"))
sha256, shaErr := os.ReadFile(filepath.Join(releasePath, "sha256"))

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please adapt the unit test(s) in common_test.go accordingly?

@jochenehret jochenehret merged commit 3a0c679 into cloudfoundry:main Oct 1, 2025
11 checks passed
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.

2 participants