Skip to content

Commit

Permalink
release v0.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
jychen7 committed Jan 28, 2022
1 parent 220f2f0 commit 0abe81c
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 1 deletion.
28 changes: 28 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: publish to pypi

on:
release:
types: [published]

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install poetry
- name: Build package
run: |
make build
- name: Publish package
run: |
make publish
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ install:
test:
poetry run pytest tests

build:
poetry build

publish:
poetry publish

fmt:
poetry run black .

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "BigtableQL"
version = "0.1.1"
version = "0.1.2"
description = "Query Layer for Google Cloud Bigtable"
authors = ["jychen7 <[email protected]>"]
license = "MIT"
Expand Down

0 comments on commit 0abe81c

Please sign in to comment.