Skip to content

Commit

Permalink
Fix Rust build
Browse files Browse the repository at this point in the history
  • Loading branch information
rlouf committed Dec 6, 2024
1 parent 819175c commit e832892
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release_rust.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ jobs:
- name: Check Cargo.toml version matches Release tag
run: |
CARGO_VERSION=$(grep '^version =' Cargo.toml | sed 's/.*"\(.*\)".*/\1/')
if [ "${GITHUB_REF#refs/tags/v}" != "$CARGO_VERSION" ]; then
echo "Version mismatch: Cargo.toml ($CARGO_VERSION) doesn't match Release tag (${GITHUB_REF#refs/tags/v})"
if [ "${GITHUB_REF#refs/tags/}" != "$CARGO_VERSION" ]; then
echo "Version mismatch: Cargo.toml ($CARGO_VERSION) doesn't match Release tag (${GITHUB_REF#refs/tags/})"
exit 1
fi
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "outlines-core"
version = "0.1.19"
version = "0.1.20"
edition = "2021"
description = "Structured Generation"
license = "Apache-2.0"
Expand Down

0 comments on commit e832892

Please sign in to comment.