From 0c9d0300118076e520e09af7cdfaca0a6125607e Mon Sep 17 00:00:00 2001 From: Josh Cazalas <73436834+joshcazalas@users.noreply.github.com> Date: Sat, 7 Oct 2023 16:16:08 -0500 Subject: [PATCH] Update check-for-releases.yml --- .github/workflows/check-for-releases.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/check-for-releases.yml b/.github/workflows/check-for-releases.yml index 4f8ad48..d469b42 100644 --- a/.github/workflows/check-for-releases.yml +++ b/.github/workflows/check-for-releases.yml @@ -30,9 +30,10 @@ jobs: - name: Get Your Repository's Version id: get-version run: | - # Use grep and awk to extract the version from the file - version=$(grep -oE 'version: "[0-9]+\.[0-9]+\.[0-9]+"' src/snowflake_resources/snowflake_provider.ts | awk -F'"' '{print $2}') - echo "::set-output name=MY_VERSION::$version" + cat src/snowflake_resources/snowflake_provider.ts # Check file contents + version=$(grep -oE 'version: "[0-9]+\.[0-9]+\.[0-9]+"' src/snowflake_resources/snowflake_provider.ts | awk -F'"' '{print $2}') + echo "Extracted Version: $version" + echo "::set-output name=MY_VERSION::$version" shell: bash - name: Print Release Info