File tree Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -16,12 +16,12 @@ jobs:
16
16
runs-on : ubuntu-latest
17
17
strategy :
18
18
matrix :
19
- python-version : [3.7 ]
19
+ python-version : ["3.9" ]
20
20
21
21
steps :
22
- - uses : actions/checkout@v2
22
+ - uses : actions/checkout@v4
23
23
- name : Set up Python ${{ matrix.python-version }}
24
- uses : actions/setup-python@v2
24
+ uses : actions/setup-python@v5
25
25
with :
26
26
python-version : ${{ matrix.python-version }}
27
27
- name : Install Fish
42
42
- name : Check for release
43
43
if : github.ref == 'refs/heads/main'
44
44
run : |
45
- python -m pip install githubrelease httpx==0.16.1 autopub
45
+ python -m pip install githubrelease httpx==0.18.2 autopub
46
46
echo "##[set-output name=release;]$(autopub check)"
47
47
id : check_release
48
48
- name : Deploy
Original file line number Diff line number Diff line change
1
+ Release type: patch
2
+
3
+ Improve resiliency of ` check_fish_version() ` function to invisible characters such as tabs.
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ def check_fish_version():
28
28
import subprocess
29
29
from packaging import version
30
30
31
- cmd = ["fish" , "-c" , "echo $version" ]
31
+ cmd = ["fish" , "-N" , "- c" , "echo $version" ]
32
32
fish_version = subprocess .check_output (cmd ).decode ("utf-8" ).strip ()
33
33
# Remove any extraneous hyphen-suffixed bits
34
34
fish_version = fish_version .partition ("-" )[0 ]
You can’t perform that action at this time.
0 commit comments