diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 6a3d04f9..0c43e20e 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -38,7 +38,7 @@ jobs: poetry build - name: Publish distribution to PyPI - if: github.repository == 'linkml/linkml' + if: github.repository == 'linkml/linkml-model' uses: pypa/gh-action-pypi-publish@v1.2.2 with: user: __token__ diff --git a/linkml_model/linkml_files.py b/linkml_model/linkml_files.py index ddfb7864..48d11cc6 100644 --- a/linkml_model/linkml_files.py +++ b/linkml_model/linkml_files.py @@ -111,7 +111,7 @@ def do_request(url) -> object: raise requests.HTTPError(f"{resp.status_code} - {resp.reason}: {url}") def tag_to_commit(tag: str) -> str: - tags = do_request(f"{GITHUB_API_BASE}tags") + tags = do_request(f"{GITHUB_API_BASE}tags?per_page=100") for tagent in tags: if tagent['name'] == tag: return _build_loc(f"{GITHUB_BASE}blob/{tagent['commit']['sha']}/", source, fmt)