Skip to content

Commit 0bb8b07

Browse files
authored
Merge pull request #169 from linkml/fix-release-workflow
Fix repository name in release workflow
2 parents 55037f0 + 6769c3c commit 0bb8b07

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
poetry build
3939
4040
- name: Publish distribution to PyPI
41-
if: github.repository == 'linkml/linkml'
41+
if: github.repository == 'linkml/linkml-model'
4242
uses: pypa/gh-action-pypi-publish@v1.2.2
4343
with:
4444
user: __token__

linkml_model/linkml_files.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ def do_request(url) -> object:
111111
raise requests.HTTPError(f"{resp.status_code} - {resp.reason}: {url}")
112112

113113
def tag_to_commit(tag: str) -> str:
114-
tags = do_request(f"{GITHUB_API_BASE}tags")
114+
tags = do_request(f"{GITHUB_API_BASE}tags?per_page=100")
115115
for tagent in tags:
116116
if tagent['name'] == tag:
117117
return _build_loc(f"{GITHUB_BASE}blob/{tagent['commit']['sha']}/", source, fmt)

0 commit comments

Comments
 (0)