diff --git a/.github/workflows/release-python.yml b/.github/workflows/release-python.yml index 1a3a838..a1abd36 100644 --- a/.github/workflows/release-python.yml +++ b/.github/workflows/release-python.yml @@ -226,10 +226,14 @@ jobs: name: wheels-sdist path: dist + - name: print tag github.ref + run: | + echo "GITHUB_REF: ${{ github.ref }}" + release: name: Release runs-on: ubuntu-latest - if: "startsWith(github.ref, 'refs/tags/py-deepbiop-v')" + if: ${{ startsWith(github.ref, 'refs/tags/py-deepbiop-v') }} needs: [linux, musllinux, windows, macos, sdist] steps: - uses: actions/download-artifact@v4 diff --git a/py-deepbiop/pyproject.toml b/py-deepbiop/pyproject.toml index 8474b17..0f47193 100644 --- a/py-deepbiop/pyproject.toml +++ b/py-deepbiop/pyproject.toml @@ -36,7 +36,7 @@ classifiers = [ Homepage = "https://github.com/cauliyang/DeepBioP" Documentation = "https://github.com/cauliyang/DeepBioP" Repository = "https://github.com/cauliyang/DeepBioP" -Changelog = "https://github.com/cauliyang/DeepBioP/releases" +Changelog = "https://github.com/cauliyang/DeepBioP/CHANGELOG.md" [tool.mypy] diff --git a/py-deepbiop/tests/test_utils.py b/py-deepbiop/tests/test_utils.py index cebbda5..ecd8dc8 100644 --- a/py-deepbiop/tests/test_utils.py +++ b/py-deepbiop/tests/test_utils.py @@ -1,6 +1,6 @@ -import deepbiop +from deepbiop import utils def test_hight_targets(): - result = deepbiop.utils.highlight_targets("ACTGAACCGAGATCGAGTG", [(0, 3), (7, 10)]) + result = utils.highlight_targets("ACTGAACCGAGATCGAGTG", [(0, 3), (7, 10)]) print(result)