From 85c8c91bcc35df0e9a3b33ce1e980b3d087446ca Mon Sep 17 00:00:00 2001 From: jvoisin Date: Sat, 20 Nov 2021 12:55:36 +0100 Subject: [PATCH] Get rid of problematic / in branch name on OSX Taken from https://devhints.io/bash Should fix #6424 --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9f985856ec..5ec31d349d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -176,7 +176,7 @@ Debian_Clang_tests_Debug: - ccache -z -M "${CCACHE_SIZE}" - CI/before_script.osx.sh - cd build; make -j $(sysctl -n hw.logicalcpu) package - - for dmg in *.dmg; do mv "$dmg" "${dmg%.dmg}_${CI_COMMIT_REF_NAME}_${CI_JOB_ID}.dmg"; done + - for dmg in *.dmg; do mv "$dmg" "${dmg%.dmg}_${CI_COMMIT_REF_NAME##*/}_${CI_JOB_ID}.dmg"; done - ccache -s artifacts: paths: