drone/drone-starlark/repos/secret-to-environment.star

3 lines
75 B
Plaintext
Raw Permalink Normal View History

2020-05-10 16:16:11 +00:00
def secretToEnvironment(secret):
return secret.replace("-", "_").upper()