From 3629781874cf60543b51231a7e60155c87941ccf Mon Sep 17 00:00:00 2001 From: joanvallve <jvallve@iri.upc.edu> Date: Wed, 10 Apr 2024 11:24:45 +0200 Subject: [PATCH] [skip ci] ci templates small change --- .ci_templates/.clang_format.yml | 2 +- .ci_templates/.license_headers.yml | 2 +- .ci_templates/.yaml_schema_cpp.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.ci_templates/.clang_format.yml b/.ci_templates/.clang_format.yml index dc263197d..b62073920 100644 --- a/.ci_templates/.clang_format.yml +++ b/.ci_templates/.clang_format.yml @@ -11,7 +11,7 @@ # create temporary branch - if [ `git rev-parse --verify ci_clangformat 2>/dev/null` ]; then - - git branch --delete ci_clangformat + - git branch -D ci_clangformat - fi - export CI_NEW_BRANCH_CLANG=ci_clangformat - echo creating new temporary branch... $CI_NEW_BRANCH_CLANG diff --git a/.ci_templates/.license_headers.yml b/.ci_templates/.license_headers.yml index cc3b675cc..f2b1db32f 100644 --- a/.ci_templates/.license_headers.yml +++ b/.ci_templates/.license_headers.yml @@ -12,7 +12,7 @@ # create temporary branch - if [ `git rev-parse --verify ci_license_header 2>/dev/null` ]; then - - git branch --delete ci_license_header + - git branch -D ci_license_header - fi - export CI_NEW_BRANCH_LICENSE=ci_license_header - echo creating new temporary branch... $CI_NEW_BRANCH_LICENSE diff --git a/.ci_templates/.yaml_schema_cpp.yml b/.ci_templates/.yaml_schema_cpp.yml index fb7056750..1e26f3d79 100644 --- a/.ci_templates/.yaml_schema_cpp.yml +++ b/.ci_templates/.yaml_schema_cpp.yml @@ -38,7 +38,7 @@ # create temporary branch - if [ `git rev-parse --verify ci_yamlschemacpp 2>/dev/null` ]; then - - git branch --delete ci_yamlschemacpp + - git branch -D ci_yamlschemacpp - fi - export CI_NEW_BRANCH_YAML=ci_yamlschemacpp - echo creating new temporary branch... $CI_NEW_BRANCH_YAML -- GitLab