File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 38
38
id : current_version
39
39
run : |
40
40
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}')"
42
42
echo "$out"
43
43
echo "::set-output name=current_version::$out"
44
44
shell : bash
Original file line number Diff line number Diff line change 12
12
13
13
jobs :
14
14
15
- release-version-bumped :
15
+ release-ready :
16
16
runs-on : ubuntu-latest
17
17
if : github.event_name == 'pull_request' && github.event.pull_request.base.ref == 'stable'
18
18
steps :
27
27
run : |
28
28
python -m pip install --upgrade pip
29
29
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}' )"
31
31
echo "$out"
32
32
echo "::set-output name=current_version::$out"
33
33
shell : bash
You can’t perform that action at this time.
0 commit comments