From a66f6df6a559ea95ab23e2a0f0a339b336bb7514 Mon Sep 17 00:00:00 2001 From: Andrea Giovine Date: Sun, 14 Aug 2022 14:08:16 +0200 Subject: [PATCH] fix(ci): right use of grep --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f7f468b..ea55d55 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,7 +24,7 @@ jobs: - name: "Extract version" id: "version" run: | - ESPANSO_VERSION=$(cat espanso/Cargo.toml | grep version | head -1 | awk -F '"' '{ print $2 }') + ESPANSO_VERSION=$(grep version espanso/Cargo.toml | head -1 | awk -F '"' '{ print $2 }') echo version: $ESPANSO_VERSION echo "::set-output name=version::v$ESPANSO_VERSION" @@ -268,4 +268,4 @@ jobs: run: | VERSION="${{ needs.extract-version.outputs.espanso_version }}" ./scripts/publish_homebrew_version.sh - echo "Cask formula has been published here: " \ No newline at end of file + echo "Cask formula has been published here: "