From 5e9a29be5d72d913bac08b3783c90c33d0a10cd6 Mon Sep 17 00:00:00 2001 From: Yeicor <4929005+Yeicor@users.noreply.github.com> Date: Sun, 13 Aug 2023 17:03:08 +0200 Subject: [PATCH] Fixes to automate native android builds 4 --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 61164a0..ee292cc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -29,7 +29,7 @@ jobs: id: auto-update run: | export VERSION="${GITHUB_REF##*/}" - sed -E -i "s/^version = \[^\"]\"/version = \"${VERSION:1}\"/g" Cargo.toml # e.g. v0.0.1 -> version = "0.0.1" + sed -E -i "s/^version = \[^\"]*\"/version = \"${VERSION:1}\"/g" Cargo.toml # e.g. v0.0.1 -> version = "0.0.1" cargo tree # Check that we did not break the Cargo.toml (also updates Cargo.lock) git config --global user.email "yeicor@users.noreply.github.com" git config --global user.name "Yeicor"