Skip to content

Commit

Permalink
fix(gha/skaffold): fix grep error
Browse files Browse the repository at this point in the history
Signed-off-by: kaanyagci <kaan.yagci@makepad.fr>
  • Loading branch information
kaanyagci committed Aug 11, 2024
1 parent f575746 commit 3b7cada
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/get_latest_skaffold_version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit 3b7cada

Please sign in to comment.