Skip to content

Commit 81a29ca

Browse files
committed
publish alpha.
1 parent 53e802b commit 81a29ca

4 files changed

Lines changed: 20 additions & 4 deletions

File tree

‎.github/workflows/release.yml‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,23 @@ permissions:
99
contents: read
1010

1111
jobs:
12+
check-version:
13+
runs-on: ubuntu-latest
14+
if: startsWith(github.ref, 'refs/tags/')
15+
steps:
16+
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
17+
- name: Check tag version
18+
run: |
19+
version=$(grep -m1 '^version = ' crates/processing_pyo3/Cargo.toml | cut -d'"' -f2)
20+
if [ "v$version" != "${{ github.ref_name }}" ]; then
21+
echo "::error::tag ${{ github.ref_name }} does not match processing_pyo3 version $version"
22+
exit 1
23+
fi
24+
1225
generate-stubs:
1326
runs-on: ubuntu-22.04
27+
needs: check-version
28+
if: ${{ !failure() && !cancelled() }}
1429
steps:
1530
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
1631
with:
@@ -264,3 +279,4 @@ jobs:
264279
with:
265280
files: release-assets/*
266281
generate_release_notes: true
282+
prerelease: ${{ contains(github.ref_name, '-') }}

‎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.

‎Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "processing"
3-
version = "0.0.8"
3+
version = "0.0.9-alpha.1"
44
edition = "2024"
55
autoexamples = false
66

‎crates/processing_pyo3/Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "processing_pyo3"
3-
version = "0.0.8"
3+
version = "0.0.9-alpha.1"
44
edition = "2024"
55

66
[lints]

0 commit comments

Comments
 (0)