Skip to content

Commit be2628b

Browse files
committed
fix: use template repository URL for tests badge
The tests badge now points to the actual template repository so it displays correctly on GitHub before setup is run.
1 parent 8cc0355 commit be2628b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Package Name
22

3-
[![Run tests](https://github.com/username/package-name/actions/workflows/tests.yml/badge.svg)](https://github.com/username/package-name/actions/workflows/tests.yml)
3+
[![Run tests](https://github.com/opencitations/python-package-template/actions/workflows/tests.yml/badge.svg)](https://github.com/opencitations/python-package-template/actions/workflows/tests.yml)
44
[![PyPI version](https://badge.fury.io/py/package-name.svg)](https://badge.fury.io/py/package-name)
55
[![License: ISC](https://img.shields.io/badge/License-ISC-blue.svg)](https://opensource.org/licenses/ISC)
66

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,7 @@ def main() -> int:
180180
print_success("Package directory renamed")
181181

182182
replacements = {
183+
"opencitations/python-package-template": f"{github_username}/{package_name}",
183184
"package-name": package_name,
184185
"package_name": package_underscore,
185186
"Package Name": package_title,

0 commit comments

Comments
 (0)