mirror of
https://github.com/bitwarden/browser
synced 2025-12-12 22:33:35 +00:00
testing the env vars access
This commit is contained in:
13
sign.js
13
sign.js
@@ -1,12 +1,15 @@
|
|||||||
exports.default = async function(configuration) {
|
exports.default = async function(configuration) {
|
||||||
console.log(`config:\n${JSON.stringify(configuration, null, 4)}`)
|
//console.log(`config:\n${JSON.stringify(configuration, null, 4)}`)
|
||||||
|
console.log(`env test - vault URL: ${process.env.SigningVaultURL}`)
|
||||||
|
|
||||||
require("child_process").execSync(
|
require("child_process").execSync(
|
||||||
`azuresigntool sign \
|
`azuresigntool sign \
|
||||||
-kvu "${process.env.SigningVaultURL}" \
|
-kvu ${process.env.SigningVaultURL} \
|
||||||
-kvi "${process.env.SigningClientId}" \
|
-kvi ${process.env.SigningClientId} \
|
||||||
-kvs "${process.env.SigningClientSecret}" \
|
-kvs ${process.env.SigningClientSecret} \
|
||||||
-kvc "${process.env.SigningCertName}" \
|
-kvc ${process.env.SigningCertName} \
|
||||||
|
-fd ${configuration.hash}
|
||||||
|
-du ${configuration.site}
|
||||||
-tr http://timestamp.digicert.com \
|
-tr http://timestamp.digicert.com \
|
||||||
${configuration.path}`,
|
${configuration.path}`,
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user