From 2a483b4c83d4d03262f293902b3501a595d740b7 Mon Sep 17 00:00:00 2001 From: Ostrzyciel Date: Fri, 5 Jul 2024 13:42:00 +0200 Subject: [PATCH] Fix doc publishing CI --- docs/main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/main.py b/docs/main.py index c8211d76..3c19793e 100644 --- a/docs/main.py +++ b/docs/main.py @@ -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 @@ -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', '')