Skip to content

Commit

Permalink
Merge pull request #26 from andkononykhin/release-pipeline-fixes
Browse files Browse the repository at this point in the history
release pipeline fixes
  • Loading branch information
andkononykhin authored Oct 7, 2021
2 parents 298a0ff + 0aa0be3 commit 58c8c15
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down

0 comments on commit 58c8c15

Please sign in to comment.