diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 4223777fb..aa00ff077 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -3,13 +3,19 @@ name: "Release conda-store" on: release: types: [created] + push: + branches: + - "*" + workflow_dispatch: + +env: + FORCE_COLOR: "1" # Make tools pretty. permissions: contents: read # This is required for actions/checkout jobs: - release-conda-store: - name: "PyPi Release conda-store packages 🚀" + pypi-release: runs-on: ubuntu-latest permissions: id-token: write # IMPORTANT: this permission is mandatory for trusted publishing @@ -30,13 +36,17 @@ jobs: with: python-version: 3.8 - - name: "Install hatch 🐣" + - name: "Install dependencies 📦" run: | - pip install hatch + pip install hatch twine - name: "Build Package 📦" run: | hatch build + twine check dist/* - name: "Upload to PyPI 🚀" uses: pypa/gh-action-pypi-publish@release/v1 + with: + print-hash: true + if: github.event_name == 'release' && startsWith(github.ref, 'refs/tags/') diff --git a/conda-store-server/conda_store_server/__init__.py b/conda-store-server/conda_store_server/__init__.py index 3557e076e..79cd0ce81 100644 --- a/conda-store-server/conda_store_server/__init__.py +++ b/conda-store-server/conda_store_server/__init__.py @@ -1 +1 @@ -__version__ = "2023.9.1" +__version__ = "2023.9.2" diff --git a/conda-store-server/pyproject.toml b/conda-store-server/pyproject.toml index f7cf66930..43c1292ad 100644 --- a/conda-store-server/pyproject.toml +++ b/conda-store-server/pyproject.toml @@ -8,7 +8,7 @@ name = "conda-store-server" description = "Conda Environment Management, Builds, and Serve" readme = "README.md" license = "BSD-3-Clause" -requires-python = ">=3.7" +requires-python = ">=3.8" keywords = ["conda"] authors = [ { name = "Christopher Ostrouchov", email = "crhsi.ostrouchov@gmail.com" }, diff --git a/conda-store/conda_store/__init__.py b/conda-store/conda_store/__init__.py index 3557e076e..79cd0ce81 100644 --- a/conda-store/conda_store/__init__.py +++ b/conda-store/conda_store/__init__.py @@ -1 +1 @@ -__version__ = "2023.9.1" +__version__ = "2023.9.2" diff --git a/conda-store/pyproject.toml b/conda-store/pyproject.toml index 41c3ed317..d47b073f4 100644 --- a/conda-store/pyproject.toml +++ b/conda-store/pyproject.toml @@ -8,7 +8,7 @@ name = "conda-store" description = "conda-store client" readme = "README.md" license = "BSD-3-Clause" -requires-python = ">=3.7" +requires-python = ">=3.8" keywords = ["conda"] authors = [ { name = "Christopher Ostrouchov", email = "chris.ostrouchov@gmail.com" },