Skip to content

Commit

Permalink
Update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
lucemans committed Dec 17, 2024
1 parent 394fa11 commit 114f099
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
else
echo "No release tag detected, using version from Cargo.toml"
# parse version from Cargo.toml using regex
version=$(grep -oP 'version = "([^"]+?)"' engine/Cargo.toml | sed 's/^version = "\(.*\)"$/\1/')
version=$(grep -oP 'version = "([^"]+?)"' engine/Cargo.toml | head -n 1 | sed 's/^version = "\(.*\)"$/\1/')
echo "Current version: $version"
sed -i "s/^version = .*/version = \"${version}-alpha\"/" engine/Cargo.toml
fi
Expand Down

0 comments on commit 114f099

Please sign in to comment.