From bc5e6a1ad064815616adbbfdb8f478b9435b2996 Mon Sep 17 00:00:00 2001 From: Eric Scouten Date: Sat, 28 Sep 2024 23:15:02 -0700 Subject: [PATCH] chore: Hat trick --- .github/workflows/nightly.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index e41e8f6..89688ba 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -102,8 +102,8 @@ jobs: export NIGHTLY_SUFFIX=$(echo -nightly-`date +%F`-`git rev-parse --short HEAD`) echo Will add nightly suffix $NIGHTLY_SUFFIX - echo sed -i "s/version = \"\\(.*\\)\"/version = \"\\1$NIGHTLY_SUFFIX\"/" sdk/Cargo.toml - sed -i "s/version = \"\\(.*\\)\"/version = \"\\1$NIGHTLY_SUFFIX\"/" sdk/Cargo.toml + echo sed -i "s/^version = \"\\(.*\\)\"/version = \"\\1$NIGHTLY_SUFFIX\"/" sdk/Cargo.toml + sed -i "s/^version = \"\\(.*\\)\"/version = \"\\1$NIGHTLY_SUFFIX\"/" sdk/Cargo.toml echo echo Proposed changes: