@@ -72,8 +72,8 @@ def _get_vs_build_command(cmd, vstudio_root=None):
72
72
return cmd
73
73
74
74
75
- def _get_env (ctx , major_version = '7' , release_version = 'nightly' , flavor = None ):
76
- env = load_release_versions (ctx , release_version )
75
+ def _get_env (ctx , major_version = '7' , flavor = None ):
76
+ env = load_release_versions (ctx )
77
77
78
78
if flavor is None :
79
79
flavor = os .getenv ("AGENT_FLAVOR" , "" )
@@ -292,15 +292,14 @@ def build(
292
292
vstudio_root = None ,
293
293
arch = "x64" ,
294
294
major_version = '7' ,
295
- release_version = 'nightly' ,
296
295
flavor = None ,
297
296
debug = False ,
298
297
build_upgrade = False ,
299
298
):
300
299
"""
301
300
Build the MSI installer for the agent
302
301
"""
303
- env = _get_env (ctx , major_version , release_version , flavor = flavor )
302
+ env = _get_env (ctx , major_version , flavor = flavor )
304
303
env ['OMNIBUS_TARGET' ] = 'main'
305
304
configuration = _msbuild_configuration (debug = debug )
306
305
build_outdir = build_out_dir (arch , configuration )
@@ -399,11 +398,11 @@ def build_installer(ctx, vstudio_root=None, arch="x64", debug=False):
399
398
400
399
401
400
@task
402
- def test (ctx , vstudio_root = None , arch = "x64" , major_version = '7' , release_version = 'nightly' , debug = False ):
401
+ def test (ctx , vstudio_root = None , arch = "x64" , major_version = '7' , debug = False ):
403
402
"""
404
403
Run the unit test for the MSI installer for the agent
405
404
"""
406
- env = _get_env (ctx , major_version , release_version )
405
+ env = _get_env (ctx , major_version )
407
406
configuration = _msbuild_configuration (debug = debug )
408
407
build_outdir = build_out_dir (arch , configuration )
409
408
@@ -498,7 +497,7 @@ def get_msm_info(ctx, release_version):
498
497
"""
499
498
Get the merge module info from the release.json for the given release_version
500
499
"""
501
- env = load_release_versions (ctx , release_version )
500
+ env = load_release_versions (ctx )
502
501
base_url = "https://s3.amazonaws.com/dd-windowsfilter/builds"
503
502
msm_info = {}
504
503
if 'WINDOWS_DDNPM_VERSION' in env :
0 commit comments