Bump version to test CI

This commit is contained in:
Andrew Brookins 2021-11-02 17:06:09 -07:00
parent 3a69a6635a
commit 60dc986947
2 changed files with 30 additions and 9 deletions

View file

@ -152,15 +152,36 @@ jobs:
uses: actions/setup-python@v2 uses: actions/setup-python@v2
with: with:
python-version: 3.9 python-version: 3.9
- name: Install dependencies
run: - name: Install Poetry
python -m pip install -U pip wheel twine uses: snok/install-poetry@v1
- name: Make dists with:
run: virtualenvs-create: true
python setup.py sdist bdist_wheel virtualenvs-in-project: true
- name: PyPI upload installer-parallel: true
#----------------------------------------------
# load cached venv if cache exists
#----------------------------------------------
- name: Load cached venv
id: cached-poetry-dependencies
uses: actions/cache@v2
with:
path: .venv
key: venv-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }}
#----------------------------------------------
# install dependencies if cache does not exist
#----------------------------------------------
- name: Install dependencies
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
run: poetry install --no-interaction --no-root
#----------------------------------------------
# install your root project, if required
#----------------------------------------------
- name: Install library
run: poetry install --no-interaction
- name: PyPI upload
env: env:
TWINE_USERNAME: __token__ TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }} TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
run: | run: |
twine upload dist/* make upload

View file

@ -1,6 +1,6 @@
[tool.poetry] [tool.poetry]
name = "redis-om" name = "redis-om"
version = "0.0.6" version = "0.0.7"
description = "A high-level library containing useful Redis abstractions and tools, like an ORM and leaderboard." description = "A high-level library containing useful Redis abstractions and tools, like an ORM and leaderboard."
authors = ["Andrew Brookins <andrew.brookins@redis.com>"] authors = ["Andrew Brookins <andrew.brookins@redis.com>"]
maintainers = ["Andrew Brookins <andrew.brookins@redis.com>"] maintainers = ["Andrew Brookins <andrew.brookins@redis.com>"]