From 3b7cada29bbca84c67df496465ea5ffd4289699a Mon Sep 17 00:00:00 2001 From: kaanyagci Date: Sun, 11 Aug 2024 22:44:18 +0200 Subject: [PATCH] fix(gha/skaffold): fix grep error Signed-off-by: kaanyagci --- .github/workflows/get_latest_skaffold_version.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/get_latest_skaffold_version.yml b/.github/workflows/get_latest_skaffold_version.yml index b01a72e..1aea0b8 100644 --- a/.github/workflows/get_latest_skaffold_version.yml +++ b/.github/workflows/get_latest_skaffold_version.yml @@ -23,8 +23,8 @@ jobs: - name: Parse version from markdown file id: parse_version run: | - version=$(grep -Eo "--version='skaffold/(v[0-9a-zA-Z]+)'" external-repo/docs-v2/content/en/docs/references/cli/_index.md | sed -E "s/--version='skaffold\/(v[0-9a-zA-Z]+)'/\1/") - echo "VERSION=$version" >> $GITHUB_ENV + version=$(grep -Eo "\-\-version='skaffold/(v[0-9a-zA-Z]+)'" external-repo/docs-v2/content/en/docs/references/cli/_index.md | sed -E "s/--version='skaffold\/(v[0-9a-zA-Z]+)'/\1/") + echo "VERSION=$version" >> $GITHUB_ENV - name: Update repository environment variable run: |