diff --git a/.github/workflows/release_pypi.yaml b/.github/workflows/release_pypi.yaml index 5e29d88..4364710 100644 --- a/.github/workflows/release_pypi.yaml +++ b/.github/workflows/release_pypi.yaml @@ -23,6 +23,10 @@ jobs: with: python-version: '3.10' + - name: Bump Cargo version + run: | + python ./.github/scripts/version_bumper.py --target Cargo.toml "${{ github.ref_name }}" + - name: Set up QEMU if: runner.os == 'Linux' uses: docker/setup-qemu-action@v3 @@ -71,7 +75,6 @@ jobs: CIBW_TEST_COMMAND: python -c "import outlines_core; print(outlines_core.__version__)" CMAKE_PREFIX_PATH: ./dist - - uses: actions/upload-artifact@v3 with: path: ./wheelhouse/*.whl diff --git a/.github/workflows/release_rust.yaml b/.github/workflows/release_rust.yaml index 5aa81ba..30a1403 100644 --- a/.github/workflows/release_rust.yaml +++ b/.github/workflows/release_rust.yaml @@ -15,6 +15,10 @@ jobs: - name: Checkout uses: actions/checkout@v2 + - name: Bump Cargo version + run: | + python ./.github/scripts/version_bumper.py --target Cargo.toml "${{ github.ref_name }}" + - name: Install Rust uses: actions-rs/toolchain@v1 with: diff --git a/Cargo.toml b/Cargo.toml index 399118a..5eec7a0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "outlines-core" -version = "0.1.21" +version = "0.0.0" edition = "2021" description = "Structured Generation" license = "Apache-2.0"