From 96809e89ea4971c246ac90b19c9f9bd1d05a04ba Mon Sep 17 00:00:00 2001 From: Benedikt Reinartz Date: Tue, 15 Oct 2024 12:36:30 +0200 Subject: [PATCH] Fix release script, rustler-codegen is not optional anymore --- prepare_release.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prepare_release.sh b/prepare_release.sh index f481a702..2705d010 100755 --- a/prepare_release.sh +++ b/prepare_release.sh @@ -36,7 +36,7 @@ echo "Bumping versions.." # Update versions in manifests sed -i "s/^version = \"[^\"]*\" # rustler version$/version = \"$VERSION\" # rustler version/" rustler/Cargo.toml -sed -i "s/^rustler_codegen.*$/rustler_codegen = { path = \"..\/rustler_codegen\", version = \"$VERSION\", optional = true}/" rustler/Cargo.toml +sed -i "s/^rustler_codegen.*$/rustler_codegen = { path = \"..\/rustler_codegen\", version = \"$VERSION\"}/" rustler/Cargo.toml sed -i "s/^version = \"[^\"]*\" # rustler_codegen version$/version = \"$VERSION\" # rustler_codegen version/" rustler_codegen/Cargo.toml sed -i "s/def rustler_version, do: \"[^\"]*\"$/def rustler_version, do: \"$VERSION\"/" rustler_mix/mix.exs rustler_mix/lib/rustler.ex sed -i "s/@version .*$/@version \"$VERSION\"/" rustler_mix/mix.exs