diff --git a/.github/workflows/cd.yaml b/.github/workflows/cd.yaml index 990da5b7..82d5a6fc 100644 --- a/.github/workflows/cd.yaml +++ b/.github/workflows/cd.yaml @@ -42,7 +42,9 @@ jobs: - name: Deploy Documentation run: | git fetch origin gh-pages:gh-pages - nox -s docs -- deploy --update-aliases main + tag="${{ github.ref_name }}" + DOC_VERSION=${tag%.*} + nox -s docs -- deploy --update-aliases "$DOC_VERSION" main git push origin gh-pages - name: Publish package distributions to PyPI run: nox -s publish -- --no-build diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 35335747..3be0b28f 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -47,7 +47,7 @@ jobs: git fetch origin gh-pages:gh-pages tag="${{ github.ref_name }}" DOC_VERSION=${tag%.*} - nox -s docs -- deploy --alias-type=copy --update-aliases "$DOC_VERSION" latest + nox -s docs -- deploy --alias-type=copy --update-aliases "$DOC_VERSION" git push origin gh-pages - name: Publish package distributions to PyPI run: nox -s publish -- --no-build diff --git a/pyproject.toml b/pyproject.toml index 3462d90b..3ff92d79 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ build-backend = "pdm.backend" [project] name = "kaiko-eva" -version = "0.1.5" +version = "0.1.6" description = "Evaluation Framework for oncology foundation models." keywords = [ "machine-learning",