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:
parent
c9e3b8224a
commit
8709c8a8ee
5 changed files with 18 additions and 3 deletions
|
@ -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()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue