Skip to content

Commit 77e0685

Browse files
committed
0.1.1
1 parent 7086c93 commit 77e0685

File tree

4 files changed

+15
-4
lines changed

4 files changed

+15
-4
lines changed

.github/workflows/release.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66

77

88
jobs:
9-
tests:
9+
release:
1010
strategy:
1111
matrix:
1212
python-version: [3.8, 3.9]
@@ -32,6 +32,17 @@ jobs:
3232
- name: Install dependencies
3333
run: |
3434
poetry install
35+
- name: Install Rust && maturin
36+
run: |
37+
curl https://sh.rustup.rs -sSf | sh -s -- -y
38+
source $HOME/.cargo/env
39+
pip install maturin twine
40+
- name: Build
41+
run: |
42+
maturin build --release --strip --interpreter python${{ matrix.python-version }}
3543
- name: Publish
44+
env:
45+
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
46+
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
3647
run: |
3748
make publish

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "capara"
3-
version = "0.1.0"
3+
version = "0.1.1"
44
edition = "2018"
55
authors = ["Aviram Hassan <aviramyhassan@gmail.com>"]
66

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,4 +106,4 @@ test:
106106

107107
.PHONY: publish
108108
publish:
109-
@$(POETRY) publish --username=$(PYPI_USERNAME) --password=$(PYPI_PASSWORD) --build
109+
twine upload --non-interactive --skip-existing target/wheels/*.whl target/wheels/*.tar.gz

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "capara"
3-
version = "0.1.0"
3+
version = "0.1.1"
44
description = "Profiler for Python written in Rust especially for asyncio."
55
authors = ["Aviram Hassan <aviramyhassan@gmail.com>"]
66
license = "MIT"

0 commit comments

Comments
 (0)