diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b721605e..6909cb53 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -80,8 +80,7 @@ jobs: ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_TOKEN }} VERSION: ${{ steps.release_tag.outputs.VERSION }} run: | - VERSION="${VERSION:1}" - export BUILD_VERSION=$VERSION + export BUILD_VERSION="${VERSION:1}" python setup.py sdist mkdir conda-dist conda-build .conda/ -c pytorch --output-folder conda-dist diff --git a/README.md b/README.md index e2839e09..36a4dc55 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # TorchCAM: class activation explorer -[![License: Apache 2.0](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](LICENSE) [![Codacy Badge](https://app.codacy.com/project/badge/Grade/25324db1064a4d52b3f44d657c430973)](https://www.codacy.com/gh/frgfm/torch-cam/dashboard?utm_source=github.com&utm_medium=referral&utm_content=frgfm/torch-cam&utm_campaign=Badge_Grade) ![Build Status](https://github.com/frgfm/torch-cam/workflows/tests/badge.svg) [![codecov](https://codecov.io/gh/frgfm/torch-cam/branch/master/graph/badge.svg)](https://codecov.io/gh/frgfm/torch-cam) [![Docs](https://img.shields.io/badge/docs-available-blue.svg)](https://frgfm.github.io/torch-cam) [![Pypi](https://img.shields.io/badge/pypi-v0.2.0-blue.svg)](https://pypi.org/project/torchcam/) [![Hugging Face Spaces](https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-Spaces-blue)](https://huggingface.co/spaces/frgfm/torch-cam) [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/frgfm/notebooks/blob/main/torch-cam/quicktour.ipynb) +[![License: Apache 2.0](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](LICENSE) [![Codacy Badge](https://app.codacy.com/project/badge/Grade/25324db1064a4d52b3f44d657c430973)](https://www.codacy.com/gh/frgfm/torch-cam/dashboard?utm_source=github.com&utm_medium=referral&utm_content=frgfm/torch-cam&utm_campaign=Badge_Grade) ![Build Status](https://github.com/frgfm/torch-cam/workflows/tests/badge.svg) [![codecov](https://codecov.io/gh/frgfm/torch-cam/branch/master/graph/badge.svg)](https://codecov.io/gh/frgfm/torch-cam) [![Docs](https://img.shields.io/badge/docs-available-blue.svg)](https://frgfm.github.io/torch-cam) [![Pypi](https://img.shields.io/badge/pypi-v0.3.0-blue.svg)](https://pypi.org/project/torchcam/) [![Hugging Face Spaces](https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-Spaces-blue)](https://huggingface.co/spaces/frgfm/torch-cam) [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/frgfm/notebooks/blob/main/torch-cam/quicktour.ipynb) Simple way to leverage the class-specific activation of convolutional layers in PyTorch. @@ -89,7 +89,7 @@ Python 3.6 (or higher) and [pip](https://pip.pypa.io/en/stable/)/[conda](https:/ ### Stable release -You can install the last stable release of the package using [pypi](https://pypi.org/project/torch-cam/) as follows: +You can install the last stable release of the package using [pypi](https://pypi.org/project/torchcam/) as follows: ```shell pip install torchcam diff --git a/docs/build.sh b/docs/build.sh index 5e417b77..d59ff15b 100644 --- a/docs/build.sh +++ b/docs/build.sh @@ -35,5 +35,6 @@ deploy_doc "" latest deploy_doc "7be0b4f" v0.1.0 deploy_doc "a95d680" v0.1.1 deploy_doc "521b4f9" v0.1.2 -deploy_doc "eb9427e" # v0.2.0 Latest stable release +deploy_doc "eb9427e" v0.2.0 +deploy_doc "d8d722d" # v0.3.0 Latest stable release rm -rf _build _static _conf.py diff --git a/docs/source/_static/js/custom.js b/docs/source/_static/js/custom.js index 3f0d170e..23444197 100644 --- a/docs/source/_static/js/custom.js +++ b/docs/source/_static/js/custom.js @@ -3,11 +3,12 @@ // These two things need to be updated at each release for the version selector. // Last stable version -const stableVersion = "v0.2.0" +const stableVersion = "v0.3.0" // Dictionary doc folder to label. The last stable version should have an empty key. const versionMapping = { "latest": "latest", - "": "v0.2.0 (stable)", + "": "v0.3.0 (stable)", + "v0.2.0": "v0.2.0", "v0.1.2": "v0.1.2", "v0.1.1": "v0.1.1", "v0.1.0": "v0.1.0", diff --git a/setup.py b/setup.py index f9757f38..56d85ec1 100644 --- a/setup.py +++ b/setup.py @@ -12,7 +12,7 @@ from setuptools import find_packages, setup -version = '0.2.1a0' +version = '0.3.1a0' sha = 'Unknown' package_name = 'torchcam'