Skip to content

Commit 4224b24

Browse files
committed
fix: remove a lineage option
1 parent 1971417 commit 4224b24

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

smart_tests/commands/record/build.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,6 @@ def build(
6464
"--commit",
6565
help="set repository name and commit hash when you use --no-commit-collection option"
6666
)] = [],
67-
lineage: Annotated[str | None, typer.Option(
68-
help="hidden option to directly specify the lineage name without relying on branches",
69-
hidden=True
70-
)] = None,
7167
timestamp: Annotated[str | None, typer.Option(
7268
help="Used to overwrite the build time when importing historical data. "
7369
"Note: Format must be `YYYY-MM-DDThh:mm:ssTZD` or `YYYY-MM-DDThh:mm:ss` (local timezone applied)"
@@ -292,7 +288,7 @@ def compute_links():
292288
try:
293289
payload = {
294290
"buildNumber": build_name,
295-
"lineage": lineage or branch,
291+
"lineage": branch,
296292
"commitHashes": [{
297293
'repositoryName': w.name,
298294
'commitHash': w.commit_hash,

0 commit comments

Comments
 (0)