Skip to content

Commit 6dd0897

Browse files
committed
feat: update version to 0.1.9 and copy README to kiru-py in release workflow
1 parent ec11f82 commit 6dd0897

4 files changed

Lines changed: 18 additions & 11 deletions

File tree

.github/workflows/release.yaml

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@ on:
99
type: string
1010

1111
permissions:
12-
contents: write # Changed to write for tagging
12+
contents: write
1313
id-token: write
14+
1415
jobs:
1516
build-wheels-linux:
1617
runs-on: ${{ matrix.platform.runner }}
@@ -19,6 +20,8 @@ jobs:
1920
- uses: actions/setup-python@v5
2021
with:
2122
python-version: 3.x
23+
- name: Copy README to kiru-py
24+
run: cp README.md kiru-py/README.md
2225
- name: Build wheels
2326
uses: PyO3/maturin-action@v1
2427
with:
@@ -55,6 +58,8 @@ jobs:
5558
- uses: actions/setup-python@v5
5659
with:
5760
python-version: 3.x
61+
- name: Copy README to kiru-py
62+
run: cp README.md kiru-py/README.md
5863
- name: Build wheels
5964
uses: PyO3/maturin-action@v1
6065
with:
@@ -88,6 +93,8 @@ jobs:
8893
with:
8994
python-version: 3.x
9095
architecture: ${{ matrix.platform.target }}
96+
- name: Copy README to kiru-py
97+
run: cp README.md kiru-py/README.md
9198
- name: Build wheels
9299
uses: PyO3/maturin-action@v1
93100
with:
@@ -115,6 +122,8 @@ jobs:
115122
- uses: actions/setup-python@v5
116123
with:
117124
python-version: 3.x
125+
- name: Copy README to kiru-py
126+
run: cp README.md kiru-py/README.md
118127
- name: Build wheels
119128
uses: PyO3/maturin-action@v1
120129
with:
@@ -142,7 +151,7 @@ jobs:
142151
- uses: actions/setup-python@v5
143152
with:
144153
python-version: 3.x
145-
- name: Copy README to kiru-py # ← Add this step
154+
- name: Copy README to kiru-py
146155
run: cp README.md kiru-py/README.md
147156
- name: Build sdist
148157
uses: PyO3/maturin-action@v1
@@ -187,7 +196,7 @@ jobs:
187196
steps:
188197
- uses: actions/checkout@v4
189198
with:
190-
fetch-depth: 0 # Need full history for tagging
199+
fetch-depth: 0
191200
- uses: actions/download-artifact@v4
192201
- name: Publish kiru-core to crates.io
193202
env:
@@ -199,9 +208,6 @@ jobs:
199208
mkdir -p kiru-py/all_wheels
200209
find . -type f -name "*.whl" -exec cp {} kiru-py/all_wheels/ \;
201210
202-
- name: Copy README to kiru-py
203-
run: cp README.md kiru-py/README.md
204-
205211
- name: Publish kiru-py to PyPI
206212
uses: PyO3/maturin-action@v1
207213
env:
@@ -210,6 +216,7 @@ jobs:
210216
working-directory: kiru-py
211217
command: upload
212218
args: --non-interactive --skip-existing all_wheels/*.whl
219+
213220
- name: Create GitHub Release
214221
uses: softprops/action-gh-release@v2
215222
with:

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

kiru-core/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# kiru/Cargo.toml
22
[package]
33
name = "kiru"
4-
version = "0.1.8"
4+
version = "0.1.9"
55
edition = "2021"
66
description = "Fast text chunking for Rust"
77
license = "MIT"

kiru-py/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# kiru-py/Cargo.toml
22
[package]
33
name = "kiru-py"
4-
version = "0.1.8"
4+
version = "0.1.9"
55
edition = "2021"
66
description = "Python bindings for kiru text chunking library"
77
repository = "https://github.com/bitswired/kiru"
@@ -17,6 +17,6 @@ pyo3 = { workspace = true }
1717

1818
[dependencies.kiru]
1919
path = "../kiru-core"
20-
version = "0.1.8"
20+
version = "0.1.9"
2121
[build-dependencies]
2222
# None needed for simple bindings

0 commit comments

Comments
 (0)