Skip to content

Commit

Permalink
Merge pull request #554 from OpenCOMPES/fix-release-and-docs
Browse files Browse the repository at this point in the history
Fix release and update documentation
  • Loading branch information
rettigl authored Jan 20, 2025
2 parents ab5adac + 27234e0 commit 975a506
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 6 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 9 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 975a506

Please sign in to comment.