Skip to content

Commit 8f3389c

Browse files
committed
fix(template): README badge url for gitlab remotes
1 parent ae2c017 commit 8f3389c

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

template/context

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
{# Example: remote_url = git@git01.iis.fhg.de:ks-ip-lib/software/sample_project.git #}
2-
{# |----------------|---------|-----------------------| #}
3-
{# domain group pages_path #}
4-
{# |---------------------------------| #}
5-
{# path #}
6-
{# remote_url_https = https://git01.iis.fhg.de/ks-ip-lib/software/sample_project/ #}
7-
{# remote_url_pages = https://ks-ip-lib.git01.iis.fhg.de/software/sample_project/ #}
1+
{# Example: remote_url = git@git01.iis.fhg.de:ks-ip-lib/software/sample_project.git #}
2+
{# |----------------|---------|-----------------------| #}
3+
{# domain group pages_path #}
4+
{# |---------------------------------| #}
5+
{# path #}
6+
{# remote_url_https = https://git01.iis.fhg.de/ks-ip-lib/software/sample_project/ #}
7+
{# remote_url_pages = https://ks-ip-lib.git01.iis.fhg.de/software/sample_project/ #}
88

99
{% set domain = (remote_url | replace("git@", "")).split(":")[0] %}
1010
{% set path = remote_url.split(":")[1].replace(".git", "") %}
@@ -37,8 +37,8 @@
3737
{% set remote_url_pipeline_badge = remote_url_https + '/actions/workflows/ci.yaml/badge.svg' %}
3838
{% else %}
3939
## coverage and pipeline badges are provided by gitlab
40-
{% set remote_url_coverage_badge = remote_url_https + '/badges/' + default_branch + 'coverage.svg' %}
41-
{% set remote_url_pipeline_badge = remote_url_https + '/badges/' + default_branch + 'pipeline.svg' %}
40+
{% set remote_url_coverage_badge = remote_url_https + '/badges/' + default_branch + '/coverage.svg' %}
41+
{% set remote_url_pipeline_badge = remote_url_https + '/badges/' + default_branch + '/pipeline.svg' %}
4242
{% endif %}
4343

4444
{% set cli_command = package_name | replace("_", "-") %}

0 commit comments

Comments
 (0)