File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 6
6
7
7
from contentctl .input .director import DirectorOutputDto
8
8
from contentctl .objects .config import build
9
- from contentctl .output .api_json_output import ApiJsonOutput
9
+ from contentctl .output .api_json_output import ApiJsonOutput , JSON_API_VERSION
10
10
from contentctl .output .conf_output import ConfOutput
11
11
from contentctl .output .conf_writer import ConfWriter
12
12
@@ -76,7 +76,7 @@ def execute(self, input_dto: BuildInputDto) -> DirectorOutputDto:
76
76
api_json_output .writeDeployments (input_dto .director_output_dto .deployments )
77
77
78
78
# create version file for sse api
79
- version_file = input_dto .config .getAPIPath () / "version .json"
79
+ version_file = input_dto .config .getAPIPath () / f"version_v { JSON_API_VERSION } .json"
80
80
utc_time = (
81
81
datetime .datetime .now (datetime .timezone .utc )
82
82
.replace (microsecond = 0 , tzinfo = None )
You can’t perform that action at this time.
0 commit comments