From 0aa0be36ff21b88617a70b580289411d1adf1aae Mon Sep 17 00:00:00 2001 From: Andrey Kononykhin Date: Thu, 7 Oct 2021 17:09:09 +0300 Subject: [PATCH] release pipeline fixes Signed-off-by: Andrey Kononykhin --- .github/workflows/release.yml | 2 +- .github/workflows/verify.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2f699ff..1514a9c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -38,7 +38,7 @@ jobs: id: current_version run: | python -m pip install . --no-deps - out="$(pip show ${{ env.PKG_NAME }} | grep Version: | awk '{print $2}')" + out="$(pip show ${{ env.PKG_NAME }} | grep 'Version:' | awk '{print $2}')" echo "$out" echo "::set-output name=current_version::$out" shell: bash diff --git a/.github/workflows/verify.yml b/.github/workflows/verify.yml index fef6c19..a8985d6 100644 --- a/.github/workflows/verify.yml +++ b/.github/workflows/verify.yml @@ -12,7 +12,7 @@ env: jobs: - release-version-bumped: + release-ready: runs-on: ubuntu-latest if: github.event_name == 'pull_request' && github.event.pull_request.base.ref == 'stable' steps: @@ -27,7 +27,7 @@ jobs: run: | python -m pip install --upgrade pip pip install . --no-deps - out="$(pip show ${{ env.PKG_NAME }} | grep Version: | cut -d'' '' -f 2)" + out="$(pip show ${{ env.PKG_NAME }} | grep 'Version:' | awk '{print $2}')" echo "$out" echo "::set-output name=current_version::$out" shell: bash