Skip to content

Commit

Permalink
REL - 2023.9.2 (#587)
Browse files Browse the repository at this point in the history
* Update release workflow

* Add workflow dispatch

* ➖ Drop Python 3.7

* 🔖 Bump version
  • Loading branch information
trallard authored Sep 20, 2023
1 parent 27d06a9 commit 64552a2
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 8 deletions.
18 changes: 14 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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/')
2 changes: 1 addition & 1 deletion conda-store-server/conda_store_server/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "2023.9.1"
__version__ = "2023.9.2"
2 changes: 1 addition & 1 deletion conda-store-server/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 = "[email protected]" },
Expand Down
2 changes: 1 addition & 1 deletion conda-store/conda_store/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "2023.9.1"
__version__ = "2023.9.2"
2 changes: 1 addition & 1 deletion conda-store/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 = "[email protected]" },
Expand Down

0 comments on commit 64552a2

Please sign in to comment.