Skip to content

Commit d28a29e

Browse files
committed
Merge branch 'main' into main-github
2 parents 811e095 + 05e997e commit d28a29e

File tree

4 files changed

+19
-12
lines changed

4 files changed

+19
-12
lines changed

.bumpversion.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 0.0.4
2+
current_version = 0.0.5
33
commit = True
44
message = bump {current_version} -> {new_version}
55

CHANGELOG.md

+8-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [unreleased]
99

10+
## [0.0.5] - 2023-09-25
11+
12+
### Fixed
13+
14+
- badge image url for projects hosted on GitLab
15+
1016
## [0.0.4] - 2023-09-25
1117

1218
### Changed
@@ -81,7 +87,8 @@ An example project (comparable to [pypa/sampleproject]) can be found at [jannism
8187

8288
- trove classifiers (only relevant when publishing to PyPI)
8389

84-
[unreleased]: https://github.com/jannismain/python-project-template/compare/v0.0.4...HEAD
90+
[unreleased]: https://github.com/jannismain/python-project-template/compare/v0.0.5...HEAD
91+
[0.0.5]: https://github.com/jannismain/python-project-template/compare/0.0.4...0.0.5
8592
[0.0.4]: https://github.com/jannismain/python-project-template/compare/0.0.3...0.0.4
8693
[0.0.3]: https://github.com/jannismain/python-project-template/compare/0.0.2...0.0.3
8794
[0.0.2]: https://github.com/jannismain/python-project-template/compare/0.0.1...0.0.2

src/init_python_project/cli.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
app = Typer()
1313

14-
__version__ = "0.0.4"
14+
__version__ = "0.0.5"
1515

1616

1717
def version_callback(value: bool) -> None:

template/context

+9-9
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)