Skip to content

Conversation

@blaqbern
Copy link
Contributor

@blaqbern blaqbern commented Aug 5, 2025

Since private keys are multiple lines, it's recommended to write them to a file instead of passing the contents directly to an env variable to avoid escaping issues \n characters being handled incorrectly, etc. Goreleaser supports (and probably prefers) writing private keys to a file, so I'm hopeful this will get us there. Hopefully, the private key is not malformed before writing to the file, but I guess we'll find out 😬.


Related Jira issue: REL-4161: Migrate ld-find-code-refs from Releaser to GHA

@blaqbern blaqbern requested a review from sheldonmartin August 5, 2025 20:10
@blaqbern blaqbern requested a review from a team as a code owner August 5, 2025 20:10
@launchdarkly-upra launchdarkly-upra bot changed the title write deploy key to file instead of adding contents directly [REL-4161] write deploy key to file instead of adding contents directly Aug 5, 2025
@blaqbern blaqbern changed the title [REL-4161] write deploy key to file instead of adding contents directly chore: [REL-4161] write deploy key to file instead of adding contents directly Aug 5, 2025
@blaqbern blaqbern enabled auto-merge (squash) August 5, 2025 20:10
@blaqbern blaqbern merged commit 0323f0d into main Aug 5, 2025
4 of 5 checks passed
@blaqbern blaqbern deleted the cblackburn/REL-4161/write-deploy-key-to-file branch August 5, 2025 20:46
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.

3 participants