mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-04-24 03:29:57 -07:00
Rework workflows and add devbuilds
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
from pathlib import Path
|
||||
import subprocess
|
||||
import posixpath
|
||||
import datetime
|
||||
|
||||
# For more details on these options, run 'fbt -h'
|
||||
|
||||
@@ -19,7 +19,7 @@ DEBUG = 0
|
||||
# If OS environment has DIST_SUFFIX set, it will be used instead
|
||||
|
||||
# How about we add the timestamp automatically. Solves some problems
|
||||
DIST_SUFFIX = f"XFW-0049_{datetime.datetime.today().strftime('%d%m%Y')}"
|
||||
DIST_SUFFIX = f"XFW-DEV_@{subprocess.check_output(['git', 'rev-parse', '--short=7', 'HEAD']).decode().strip().upper()}"
|
||||
|
||||
# Coprocessor firmware
|
||||
COPRO_OB_DATA = "scripts/ob.data"
|
||||
|
||||
Reference in New Issue
Block a user