Skip to content
Snippets Groups Projects
Commit 5bcfabe3 authored by Yan Sushchynski (EPAM)'s avatar Yan Sushchynski (EPAM)
Browse files

GONRG-6990_fix_versions_of_dags

parent 82f292c0
No related branches found
No related tags found
1 merge request!151GONRG-6990_fix_versions_of_dags
Pipeline #189219 failed
0.18.0
\ No newline at end of file
......@@ -16,10 +16,7 @@ class DAGFileRenderer:
with open(self.file_path, "r") as f:
dag_file_data = f.read()
dag_file_data = DAGVersionGenerator(
dag_file_data,
f"{pathlib.Path(__file__).parent.resolve()}/VERSION"
).add_dag_version()
dag_file_data = DAGVersionGenerator(dag_file_data).add_dag_version()
with open(output_path, "w") as f:
f.write(dag_file_data)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment