-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base64: invalid input
due to newlines in PGP_SECRET
#147
Comments
Yeah, macOS doesn't support the https://stackoverflow.com/questions/46463027/base64-doesnt-have-w-option-in-mac So solution (2) would be better.
I think this is a reasonable requirement of sbt-typelevel. This doesn't preclude cross-OS builds or OS-specific artifacts. All it means is that the publish job which downloads the intermediate artifacts and uploads them to sonatype must run on ubuntu. Edit: it's also worth noting that all the PGP-related shell trickery might very well be tied to ubuntu anyway. |
it seems reasonable to assume/require that |
Unfortunately the
Finally someone needed to publish from macOS 😅 |
This came up in erikerlandson/coulomb#235. I've actually encountered it myself before and I think the behavior is different across OSes.
H/t to @erikerlandson for proposing two good solutions:
In erikerlandson/coulomb#235 I suggested we could apply both, but I'm not sure what the cross-OS support is for the
-w0
flag forbase64
suggested in (1).However, since publish jobs are (effectively) always run from ubuntu, solution (2) should be robust.
The text was updated successfully, but these errors were encountered: