Skip to content

Commit

Permalink
chore: refine release badges (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
msclock authored Dec 1, 2024
1 parent 7be071e commit ecf0c57
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ A template of serious scaffold family based on pybind11.
[![Semantic Release](https://github.com/serious-scaffold/ss-pybind11/actions/workflows/semantic-release.yml/badge.svg)](https://github.com/serious-scaffold/ss-pybind11/actions/workflows/semantic-release.yml)
[![codecov](https://codecov.io/gh/serious-scaffold/ss-pybind11/branch/master/graph/badge.svg?token=123456789)](https://codecov.io/gh/serious-scaffold/ss-pybind11)
[![Release](https://img.shields.io/github/v/release/serious-scaffold/ss-pybind11)](https://github.com/serious-scaffold/ss-pybind11/releases)
[![PyPI](https://img.shields.io/pypi/v/ss_pybind11)](https://pypi.org/project/ss_pybind11/)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/ss_pybind11)](https://pypi.org/project/ss_pybind11/)

[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit)](https://github.com/pre-commit/pre-commit)
[![clang-format](https://img.shields.io/badge/clang--format-enabled-blue)](https://github.com/pre-commit/mirrors-clang-format)
Expand Down
4 changes: 3 additions & 1 deletion includes/variable.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -65,5 +65,7 @@
[![Release](https://img.shields.io/github/v/release/{{ repo_namespace }}/{{ repo_name }})](https://github.com/{{ repo_namespace }}/{{ repo_name }}/releases)
[%- elif repo_platform == 'gitlab' or repo_platform == 'gitlab-self-managed' -%]
[![Release](https://{{ repo_url() }}/-/badges/release.svg)](https://{{ repo_url() }}/-/releases)
[%- endif -%]
[%- endif %]
[![PyPI](https://img.shields.io/pypi/v/{{ module_name }})](https://pypi.org/project/{{ module_name }}/)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/{{ module_name }})](https://pypi.org/project/{{ module_name }}/)
[%- endmacro %]

0 comments on commit ecf0c57

Please sign in to comment.