Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/certbot/certbot.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrien Ferrand <ferrand.ad@gmail.com>2020-07-02 22:02:28 +0300
committerAdrien Ferrand <ferrand.ad@gmail.com>2020-07-02 22:02:28 +0300
commit160fa00930d39b599a2963ac81bfdf5babdf9512 (patch)
treee406ed832ef841817360caec4193bb79ca887401
parent2501bc1c0b8ae35036b5ee9fb7694ad84034265e (diff)
Sed, give me your strength!test-full-azure-pipelines
-rw-r--r--.azure-pipelines/templates/steps/tox-steps.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.azure-pipelines/templates/steps/tox-steps.yml b/.azure-pipelines/templates/steps/tox-steps.yml
index 4267d7bbf..f3b0fc62d 100644
--- a/.azure-pipelines/templates/steps/tox-steps.yml
+++ b/.azure-pipelines/templates/steps/tox-steps.yml
@@ -41,7 +41,7 @@ steps:
ln -s $(testFarmPem.secureFilePath) tests/letstest/test-farm.pem
condition: contains(variables['TOXENV'], 'test-farm')
- bash: |
- export TARGET_BRANCH="${BUILD_SOURCEBRANCH/refs\\/(heads|tags)\\//}"
+ export TARGET_BRANCH="`echo "${BUILD_SOURCEBRANCH}" | sed -E 's!refs/(heads|tags)/!!g'`"
[ -z "${SYSTEM_PULLREQUEST_TARGETBRANCH}" ] || export TARGET_BRANCH="${SYSTEM_PULLREQUEST_TARGETBRANCH}"
env
if [[ "${TOXENV}" == *"oldest"* ]]; then