Fix version tag

This commit is contained in:
Willy-JL
2023-07-27 03:40:56 +02:00
parent a1115115dd
commit c20d2344a7

View File

@@ -2,6 +2,8 @@
export VERSION_TAG="$(python -c '''
import datetime as dt
import json
import os
with open(os.environ["GITHUB_EVENT_PATH"], "r") as f:
event = json.load(f)
version = int(event["pull_request"]["title"].removeprefix("V").removesuffix(" Release").removesuffix(" Hotfix"))