Skip to content

Commit 58c8c15

Browse files
Merge pull request #26 from andkononykhin/release-pipeline-fixes
release pipeline fixes
2 parents 298a0ff + 0aa0be3 commit 58c8c15

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
id: current_version
3939
run: |
4040
python -m pip install . --no-deps
41-
out="$(pip show ${{ env.PKG_NAME }} | grep Version: | awk '{print $2}')"
41+
out="$(pip show ${{ env.PKG_NAME }} | grep 'Version:' | awk '{print $2}')"
4242
echo "$out"
4343
echo "::set-output name=current_version::$out"
4444
shell: bash

.github/workflows/verify.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ env:
1212

1313
jobs:
1414

15-
release-version-bumped:
15+
release-ready:
1616
runs-on: ubuntu-latest
1717
if: github.event_name == 'pull_request' && github.event.pull_request.base.ref == 'stable'
1818
steps:
@@ -27,7 +27,7 @@ jobs:
2727
run: |
2828
python -m pip install --upgrade pip
2929
pip install . --no-deps
30-
out="$(pip show ${{ env.PKG_NAME }} | grep Version: | cut -d'' '' -f 2)"
30+
out="$(pip show ${{ env.PKG_NAME }} | grep 'Version:' | awk '{print $2}')"
3131
echo "$out"
3232
echo "::set-output name=current_version::$out"
3333
shell: bash

0 commit comments

Comments
 (0)