File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -160,6 +160,7 @@ jobs:
160160 tags : backblaze/b2:${{ steps.build.outputs.version }}
161161
162162 debian-release :
163+ if : ${{ vars.B2_DEBIAN_BUCKET_UPLOAD_MISSING }}
163164 name : Build Debian Package
164165 uses : ./.github/workflows/cd_debian.yml
165166 secrets : inherit
Original file line number Diff line number Diff line change 2727 def rst2ansi (input_string , output_encoding = 'utf-8' ):
2828 """Dummy replacement of rst2ansi which is not available in Debian."""
2929 if isinstance (input_string , bytes ):
30- return input_string .decode (output_encoding )
31- return input_string
30+ input_string = input_string .decode (output_encoding )
31+
32+ # remove double backticks
33+ stripped = input_string .replace ('``' , '' )
34+ # remove code-block directive
35+ stripped = stripped .replace ('.. code-block::' , '' )
36+
37+ return stripped
3238
3339
3440_arrow_version = tuple (int (p ) for p in arrow .__version__ .split ("." ))
You can’t perform that action at this time.
0 commit comments