Commit 5de68f5
authored
fix: decode base64 PGP key before signing (KOJAK-35) (#19)
## Summary
- SML org-level `PGP_SECRET` is base64-encoded (sbt ci-release
convention)
- vanniktech expects raw ASCII-armored key
- Added decode step in publish job before
`publishAndReleaseToMavenCentral`
- Key decoded in memory, written to `$GITHUB_ENV`, temp file removed
## Context
v0.1.0 tag CI failed with: `secret key ring doesn't start with secret
key tag: tag 0xffffffff`
## Test plan
- [ ] CI passes on this PR
- [ ] After merge: tag v0.1.1, verify publish job succeeds1 parent 7c65fde commit 5de68f5
1 file changed
Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
116 | 126 | | |
117 | 127 | | |
118 | 128 | | |
119 | 129 | | |
120 | 130 | | |
121 | | - | |
122 | 131 | | |
123 | 132 | | |
124 | 133 | | |
| |||
0 commit comments