Skip to content

Commit be454d6

Browse files
authored
uprev and prepare for release (#103)
1 parent c7f8fdd commit be454d6

File tree

3 files changed

+15
-12
lines changed

3 files changed

+15
-12
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -556,7 +556,7 @@ jobs:
556556

557557
release:
558558
needs: [check]
559-
if: "success() && startsWith(github.ref, 'refs/tags/v')"
559+
if: "success() && startsWith(github.ref, 'refs/tags/')"
560560
runs-on: ubuntu-latest
561561
environment: release
562562

@@ -574,7 +574,7 @@ jobs:
574574

575575
release-python:
576576
needs: [test-builds-arch, test-builds-os, build-sdist, check]
577-
if: "success() && startsWith(github.ref, 'refs/tags/jiter-python-v')"
577+
if: "success() && startsWith(github.ref, 'refs/tags/')"
578578
runs-on: ubuntu-latest
579579
environment: release-python
580580
permissions:
@@ -586,22 +586,20 @@ jobs:
586586
- name: set up python
587587
uses: actions/setup-python@v5
588588
with:
589-
python-version: '3.10'
589+
python-version: '3.12'
590590

591591
- name: get dist artifacts
592592
uses: actions/download-artifact@v4
593593
with:
594594
pattern: pypi_files_*
595595
merge-multiple: true
596-
path: crates/jiter-python/dist
596+
path: dist
597597

598-
- name: check assets
599-
run: |
600-
pip install -U twine
601-
cd crates/jiter-python
602-
twine check --strict dist/*
598+
- run: pip install -U twine
599+
- run: ls -l dist/
600+
- run: twine check --strict dist/*
603601

604602
- name: upload to pypi
605603
uses: pypa/gh-action-pypi-publish@release/v1
606604
with:
607-
packages-dir: crates/jiter-python/dist/
605+
packages-dir: dist/

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ resolver = "2"
88

99
[workspace.package]
1010
authors = ["Samuel Colvin <[email protected]>"]
11-
version = "0.3.0"
11+
version = "0.4.0"
1212
edition = "2021"
1313
license = "MIT"
1414
keywords = ["JSON", "parsing", "deserialization", "iter"]

crates/jiter-python/Cargo.toml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
11
[package]
22
name = "jiter-python"
3-
version = "0.1.0"
3+
version = {workspace = true}
44
edition = {workspace = true}
55
authors = {workspace = true}
6+
license = {workspace = true}
7+
keywords = {workspace = true}
8+
categories = {workspace = true}
9+
homepage = {workspace = true}
10+
repository = {workspace = true}
611

712
[dependencies]
813
pyo3 = { workspace = true, default-features = true, features = ["num-bigint", "auto-initialize"] }

0 commit comments

Comments
 (0)