mirror of
https://github.com/openpgpjs/openpgpjs.git
synced 2025-11-28 08:11:04 +00:00
sop-openpgpjs did not correctly apply the `OPENPGPJS_PATH` env variable; as a result, it did not actually test the code from either the PR and base branch, but always from the hardcoded version bundled with it.
13 lines
458 B
Bash
Executable File
13 lines
458 B
Bash
Executable File
CONFIG_TEMPLATE=$1
|
|
CONFIG_OUTPUT=$2
|
|
OPENPGPJS_BRANCH=$3
|
|
OPENPGPJS_MAIN=$4
|
|
cat $CONFIG_TEMPLATE \
|
|
| sed "s@__OPENPGPJS_BRANCH__@${OPENPGPJS_BRANCH}@g" \
|
|
| sed "s@__OPENPGPJS_MAIN__@${OPENPGPJS_MAIN}@g" \
|
|
| sed "s@__SQOP__@${SQOP}@g" \
|
|
| sed "s@__GPGME_SOP__@${GPGME_SOP}@g" \
|
|
| sed "s@__GOSOP_V2__@${GOSOP_DIR_V2}/gosop@g" \
|
|
| sed "s@__SOP_OPENPGPJS__@${SOP_OPENPGPJS}@g" \
|
|
| sed "s@__RNP_SOP__@${RNP_SOP}@g" \
|
|
> $CONFIG_OUTPUT |