Skip to content

Commit

Permalink
0.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
aviramha committed Nov 16, 2020
1 parent 7086c93 commit 77e0685
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 4 deletions.
13 changes: 12 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:


jobs:
tests:
release:
strategy:
matrix:
python-version: [3.8, 3.9]
Expand All @@ -32,6 +32,17 @@ jobs:
- name: Install dependencies
run: |
poetry install
- name: Install Rust && maturin
run: |
curl https://sh.rustup.rs -sSf | sh -s -- -y
source $HOME/.cargo/env
pip install maturin twine
- name: Build
run: |
maturin build --release --strip --interpreter python${{ matrix.python-version }}
- name: Publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
make publish
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "capara"
version = "0.1.0"
version = "0.1.1"
edition = "2018"
authors = ["Aviram Hassan <[email protected]>"]

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -106,4 +106,4 @@ test:

.PHONY: publish
publish:
@$(POETRY) publish --username=$(PYPI_USERNAME) --password=$(PYPI_PASSWORD) --build
twine upload --non-interactive --skip-existing target/wheels/*.whl target/wheels/*.tar.gz
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 = "capara"
version = "0.1.0"
version = "0.1.1"
description = "Profiler for Python written in Rust especially for asyncio."
authors = ["Aviram Hassan <[email protected]>"]
license = "MIT"
Expand Down

0 comments on commit 77e0685

Please sign in to comment.