mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-04-24 03:29:57 -07:00
Fix version tag
This commit is contained in:
2
.github/workflow_data/version.sh
vendored
2
.github/workflow_data/version.sh
vendored
@@ -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"))
|
||||
|
||||
Reference in New Issue
Block a user