diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 11c905bc..da4be209 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -107,11 +107,16 @@ jobs: run: | if [[ $GITHUB_REF == refs/tags/* ]]; then VERSION=${GITHUB_REF#refs/tags/} - echo "folder=sed/$VERSION" >> $GITHUB_OUTPUT - rm docs-repo/sed/stable - rm -rf docs-repo/sed/latest - ln -s -r docs-repo/sed/$VERSION docs-repo/sed/stable - ln -s -r docs-repo/sed/$VERSION docs-repo/sed/latest + echo "folder=sed/$VERSION" >> $GITHUB_OUTPUT + if [[ $VERSION == *a* ]]; then + rm -rf docs-repo/sed/latest + ln -s -r docs-repo/sed/$VERSION docs-repo/sed/latest + else + rm -rf docs-repo/sed/stable + rm -rf docs-repo/sed/latest + ln -s -r docs-repo/sed/$VERSION docs-repo/sed/stable + ln -s -r docs-repo/sed/$VERSION docs-repo/sed/latest + fi elif [[ $GITHUB_REF == refs/heads/main ]]; then rm -rf docs-repo/sed/latest echo "folder=sed/latest" >> $GITHUB_OUTPUT diff --git a/pyproject.toml b/pyproject.toml index 6a852d9d..7aec864b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -18,8 +18,16 @@ authors = [ ] readme = "README.md" keywords = ["sed", "mpes", "flash", "arpes"] -license = {text = "MIT"} +license = { file = "LICENSE" } requires-python = ">=3.9,<3.13" +classifiers = [ + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "License :: OSI Approved :: MIT License", + "Operating System :: OS Independent", +] dependencies = [ "bokeh>=2.4.2", "dask>=2021.12.0,<2024.8",