From 269b30a910a6f82b62e2da89cea93efda9eb060c Mon Sep 17 00:00:00 2001 From: andrew Date: Sun, 28 Jul 2024 18:51:32 -0500 Subject: [PATCH] group redirects --- .github/workflows/prepare-release.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/prepare-release.yml b/.github/workflows/prepare-release.yml index 69488c304..23a2a7f95 100644 --- a/.github/workflows/prepare-release.yml +++ b/.github/workflows/prepare-release.yml @@ -17,9 +17,11 @@ jobs: CURRENT_VERSION=$(grep '^version = ' Scarb.toml | sed 's/version = "\(.*\)"/\1/') SCARB_VERSION=$(grep 'scarb-version = ' Scarb.toml | sed 's/scarb-version = "\(.*\)"/\1/') CAIRO_VERSION=$(grep 'cairo-version = ' Scarb.toml | sed 's/cairo-version = "\(.*\)"/\1/') - echo "CURRENT_VERSION=$CURRENT_VERSION" >> "$GITHUB_ENV" - echo "SCARB_VERSION=$SCARB_VERSION" >> "$GITHUB_ENV" - echo "CAIRO_VERSION=$CAIRO_VERSION" >> "$GITHUB_ENV" + { + echo "CURRENT_VERSION=$CURRENT_VERSION" + echo "SCARB_VERSION=$SCARB_VERSION" + echo "CAIRO_VERSION=$CAIRO_VERSION" + } >> "$GITHUB_ENV" - name: Extract new version number run: echo "NEW_VERSION=${GITHUB_REF#refs/heads/release-v}" >> "$GITHUB_ENV"