From aaaff3c6ea39942292bffe2cbe1810ad5b48a2b9 Mon Sep 17 00:00:00 2001 From: Dennis Dyatlov Date: Wed, 6 Nov 2024 13:13:24 +0000 Subject: [PATCH] . --- .github/workflows/rs-release.yml | 2 +- templates/set-vars.rhai | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/rs-release.yml b/.github/workflows/rs-release.yml index 0058baa2..d41b676b 100644 --- a/.github/workflows/rs-release.yml +++ b/.github/workflows/rs-release.yml @@ -153,7 +153,7 @@ jobs: - name: Update Contract Template run: | VERSION=${{ needs.prepare.outputs.r_version }} - sed -i -E "s/(variable::set\(\"sails-rs-version\", \")([^\"]+)(\"\);)/\1=$VERSION\3/" templates/set-vars.rhai + sed -i -E "s/(variable::set\(\"sails-rs-version\", \")([^\"]+)(\"\);)/\1$VERSION\3/" templates/set-vars.rhai git config --global user.name "$GITHUB_USER_NAME" git config --global user.email "$GITHUB_USER_EMAIL" git add templates/set-vars.rhai diff --git a/templates/set-vars.rhai b/templates/set-vars.rhai index 313406f9..f98b9dde 100644 --- a/templates/set-vars.rhai +++ b/templates/set-vars.rhai @@ -32,7 +32,7 @@ variable::set("mocks-feature-name", "mocks"); // Set versions of used crates variable::set("mockall-version", "0.12"); -variable::set("sails-rs-version", "0.6.2"); +variable::set("sails-rs-version", "0.6.2"); // NB: This version is updated autmatically by GH release workflow variable::set("tokio-version", "1.41"); fn is_kebab_case(name) {