mirror of
https://github.com/bitwarden/android.git
synced 2024-10-31 15:15:34 +03:00
update path sep character
This commit is contained in:
parent
99b2cd2ad0
commit
0628394122
2 changed files with 6 additions and 6 deletions
10
.github/scripts/decrypt-secret.ps1
vendored
10
.github/scripts/decrypt-secret.ps1
vendored
|
@ -7,17 +7,17 @@
|
|||
$homePath = $env:HOME
|
||||
$rootPath = $env:GITHUB_WORKSPACE
|
||||
|
||||
$secretInputPath = $rootPath + "\.github\secrets"
|
||||
$input = $secretInputPath + "\" + $filename
|
||||
$secretInputPath = $rootPath + "/.github/secrets"
|
||||
$input = $secretInputPath + "/" + $filename
|
||||
|
||||
$passphrase = $env:DECRYPT_FILE_PASSWORD
|
||||
$secretOutputPath = $homePath + "\secrets"
|
||||
$secretOutputPath = $homePath + "/secrets"
|
||||
|
||||
if ([string]::IsNullOrEmpty($output)) {
|
||||
if ($filename.EndsWith(".gpg")) {
|
||||
$output = $secretOutputPath + "\" + $filename.TrimEnd(".gpg")
|
||||
$output = $secretOutputPath + "/" + $filename.TrimEnd(".gpg")
|
||||
} else {
|
||||
$output = $secretOutputPath + "\" + $filename + ".plaintext"
|
||||
$output = $secretOutputPath + "/" + $filename + ".plaintext"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
2
.github/scripts/ios/decrypt-secrets.ps1
vendored
2
.github/scripts/ios/decrypt-secrets.ps1
vendored
|
@ -1,6 +1,6 @@
|
|||
$rootPath = $env:GITHUB_WORKSPACE;
|
||||
|
||||
$decryptSecretPath = $($rootPath + "\.github\scripts\decrypt-secret.ps1");
|
||||
$decryptSecretPath = $($rootPath + "/.github/scripts/decrypt-secret.ps1");
|
||||
|
||||
Invoke-Expression "& `"$decryptSecretPath`" -filename bitwarden-mobile-key.p12.gpg"
|
||||
Invoke-Expression "& `"$decryptSecretPath`" -filename iphone-distribution-cert.p12.gpg"
|
||||
|
|
Loading…
Reference in a new issue