From e3b301ee0d2c50f67d997d3f0687649b835f9e22 Mon Sep 17 00:00:00 2001 From: Erik Gomez Date: Thu, 26 May 2022 16:46:11 -0500 Subject: [PATCH] send github env variable not a literalstring variable --- .github/workflows/build_nudge_prerelease.yml | 2 +- .github/workflows/build_nudge_prerelease_manual.yml | 2 +- .github/workflows/build_nudge_release.yml | 2 +- .github/workflows/build_nudge_release_manual.yml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build_nudge_prerelease.yml b/.github/workflows/build_nudge_prerelease.yml index d0056805..d6c917af 100644 --- a/.github/workflows/build_nudge_prerelease.yml +++ b/.github/workflows/build_nudge_prerelease.yml @@ -50,7 +50,7 @@ jobs: - name: get environment variable changelog # trick to get this to work for sed command id: get_env_var_changelog run: | - echo "NUDGE_CHANGELOG=$(/bin/cat ./CHANGELOG.md | awk "/v$NUDGE_MAIN_VERSION/,EOF")" >> $GITHUB_ENV + echo "NUDGE_CHANGELOG=$(/bin/cat ./CHANGELOG.md | awk "/v{{env.NUDGE_MAIN_VERSION}}/,EOF")" >> $GITHUB_ENV - name: Generate changelog id: changelog diff --git a/.github/workflows/build_nudge_prerelease_manual.yml b/.github/workflows/build_nudge_prerelease_manual.yml index 7489e1b9..8af241de 100644 --- a/.github/workflows/build_nudge_prerelease_manual.yml +++ b/.github/workflows/build_nudge_prerelease_manual.yml @@ -42,7 +42,7 @@ jobs: - name: get environment variable changelog # trick to get this to work for sed command id: get_env_var_changelog run: | - echo "NUDGE_CHANGELOG=$(/bin/cat ./CHANGELOG.md | awk "/v$NUDGE_MAIN_VERSION/,EOF")" >> $GITHUB_ENV + echo "NUDGE_CHANGELOG=$(/bin/cat ./CHANGELOG.md | awk "/v{{env.NUDGE_MAIN_VERSION}}/,EOF")" >> $GITHUB_ENV - name: Generate changelog id: changelog diff --git a/.github/workflows/build_nudge_release.yml b/.github/workflows/build_nudge_release.yml index ceff088e..ba6badc9 100644 --- a/.github/workflows/build_nudge_release.yml +++ b/.github/workflows/build_nudge_release.yml @@ -50,7 +50,7 @@ jobs: - name: get environment variable changelog # trick to get this to work for sed command id: get_env_var_changelog run: | - echo "NUDGE_CHANGELOG=$(/bin/cat ./CHANGELOG.md | awk "/v$NUDGE_MAIN_VERSION/,EOF")" >> $GITHUB_ENV + echo "NUDGE_CHANGELOG=$(/bin/cat ./CHANGELOG.md | awk "/v{{env.NUDGE_MAIN_VERSION}}/,EOF")" >> $GITHUB_ENV - name: Generate changelog id: changelog diff --git a/.github/workflows/build_nudge_release_manual.yml b/.github/workflows/build_nudge_release_manual.yml index ed8ab334..51ebb915 100644 --- a/.github/workflows/build_nudge_release_manual.yml +++ b/.github/workflows/build_nudge_release_manual.yml @@ -42,7 +42,7 @@ jobs: - name: get environment variable changelog # trick to get this to work for sed command id: get_env_var_changelog run: | - echo "NUDGE_CHANGELOG=$(/bin/cat ./CHANGELOG.md | awk "/v$NUDGE_MAIN_VERSION/,EOF")" >> $GITHUB_ENV + echo "NUDGE_CHANGELOG=$(/bin/cat ./CHANGELOG.md | awk "/v{{env.NUDGE_MAIN_VERSION}}/,EOF")" >> $GITHUB_ENV - name: Generate changelog id: changelog