3
0
Fork 0
mirror of https://github.com/YosysHQ/sby.git synced 2025-04-27 07:25:51 +00:00

Add --version option based on git describe

This commit is contained in:
Jannis Harder 2024-07-08 18:11:22 +02:00
parent c9e3b8224a
commit 8709c8a8ee
5 changed files with 18 additions and 3 deletions

View file

@ -25,9 +25,12 @@ from sby_jobserver import SbyJobClient, process_jobserver_environment
from sby_status import SbyStatusDb
import time, platform, click
release_version = 'unknown SBY version'
##yosys-release-version##
process_jobserver_environment() # needs to be called early
parser = parser_func()
parser = parser_func(release_version)
args = parser.parse_args()