Bump version to test CI
This commit is contained in:
parent
3a69a6635a
commit
60dc986947
2 changed files with 30 additions and 9 deletions
33
.github/workflows/ci.yml
vendored
33
.github/workflows/ci.yml
vendored
|
@ -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 Poetry
|
||||||
|
uses: snok/install-poetry@v1
|
||||||
|
with:
|
||||||
|
virtualenvs-create: true
|
||||||
|
virtualenvs-in-project: true
|
||||||
|
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
|
- name: Install dependencies
|
||||||
run:
|
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
|
||||||
python -m pip install -U pip wheel twine
|
run: poetry install --no-interaction --no-root
|
||||||
- name: Make dists
|
#----------------------------------------------
|
||||||
run:
|
# install your root project, if required
|
||||||
python setup.py sdist bdist_wheel
|
#----------------------------------------------
|
||||||
|
- name: Install library
|
||||||
|
run: poetry install --no-interaction
|
||||||
- name: PyPI upload
|
- 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
|
||||||
|
|
|
@ -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>"]
|
||||||
|
|
Loading…
Reference in a new issue