mirror of
https://github.com/zkonduit/ezkl.git
synced 2026-01-08 22:08:07 -05:00
fix: add version string and sed (#893)
This commit is contained in:
1
.github/workflows/pypi-gpu.yml
vendored
1
.github/workflows/pypi-gpu.yml
vendored
@@ -34,6 +34,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
mv pyproject.toml pyproject.toml.orig
|
mv pyproject.toml pyproject.toml.orig
|
||||||
sed "s/ezkl/ezkl-gpu/" pyproject.toml.orig >pyproject.toml
|
sed "s/ezkl/ezkl-gpu/" pyproject.toml.orig >pyproject.toml
|
||||||
|
sed "s/0\\.0\\.0/${RELEASE_TAG//v}/" pyproject.toml.orig >pyproject.toml
|
||||||
|
|
||||||
- uses: actions-rs/toolchain@v1
|
- uses: actions-rs/toolchain@v1
|
||||||
with:
|
with:
|
||||||
|
|||||||
9
.github/workflows/pypi.yml
vendored
9
.github/workflows/pypi.yml
vendored
@@ -233,6 +233,14 @@ jobs:
|
|||||||
python-version: 3.12
|
python-version: 3.12
|
||||||
architecture: x64
|
architecture: x64
|
||||||
|
|
||||||
|
- name: Set pyproject.toml version to match github tag
|
||||||
|
shell: bash
|
||||||
|
env:
|
||||||
|
RELEASE_TAG: ${{ github.ref_name }}
|
||||||
|
run: |
|
||||||
|
mv pyproject.toml pyproject.toml.orig
|
||||||
|
sed "s/0\\.0\\.0/${RELEASE_TAG//v}/" pyproject.toml.orig >pyproject.toml
|
||||||
|
|
||||||
- name: Set Cargo.toml version to match github tag
|
- name: Set Cargo.toml version to match github tag
|
||||||
shell: bash
|
shell: bash
|
||||||
env:
|
env:
|
||||||
@@ -242,7 +250,6 @@ jobs:
|
|||||||
sed "s/0\\.0\\.0/${RELEASE_TAG//v}/" Cargo.toml.orig >Cargo.toml
|
sed "s/0\\.0\\.0/${RELEASE_TAG//v}/" Cargo.toml.orig >Cargo.toml
|
||||||
mv Cargo.lock Cargo.lock.orig
|
mv Cargo.lock Cargo.lock.orig
|
||||||
sed "s/0\\.0\\.0/${RELEASE_TAG//v}/" Cargo.lock.orig >Cargo.lock
|
sed "s/0\\.0\\.0/${RELEASE_TAG//v}/" Cargo.lock.orig >Cargo.lock
|
||||||
|
|
||||||
- name: Install required libraries
|
- name: Install required libraries
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
@@ -12,6 +12,7 @@ asyncio_mode = "auto"
|
|||||||
|
|
||||||
[project]
|
[project]
|
||||||
name = "ezkl"
|
name = "ezkl"
|
||||||
|
version = "0.0.0"
|
||||||
requires-python = ">=3.7"
|
requires-python = ">=3.7"
|
||||||
classifiers = [
|
classifiers = [
|
||||||
"Programming Language :: Rust",
|
"Programming Language :: Rust",
|
||||||
|
|||||||
Reference in New Issue
Block a user