Skip to content

Commit

Permalink
Fix doc publishing CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Ostrzyciel committed Jul 5, 2024
1 parent 7f12445 commit 2a483b4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ def proto_tag():
return 'dev'
else:
raise ValueError(f'Proto tag ({proto_tag_raw}) contains more than one hyphen, but you are trying to build a tagged release. To fix this, you must update the protobuf_shared submodule to some stable tag.')
return proto_tag_raw


@env.macro
Expand Down Expand Up @@ -55,7 +56,7 @@ def proto_version():
return 'dev'
tag = proto_tag()
if '-' in tag:
print('Warning: proto tag contains a hyphen, using dev instead of ' + proto_tag)
print('Warning: proto tag contains a hyphen, using dev instead of ' + tag)
return 'dev'
return tag.replace('v', '')

Expand Down

0 comments on commit 2a483b4

Please sign in to comment.