Skip to content

Commit 15356b2

Browse files
authored
Update agent config path in release script (#143)
1 parent 6ee49fa commit 15356b2

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

internal/buildscripts/packaging/release/helpers/constants.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,4 @@
4747
# MSI
4848
WIX_IMAGE = "felfert/wix:latest"
4949
WXS_PATH = "internal/buildscripts/packaging/msi/splunk-otel-collector.wxs"
50-
MSI_CONFIG = "cmd/otelcol/config/collector/agent_config_windows.yaml"
50+
MSI_CONFIG = "cmd/otelcol/config/collector/agent_config.yaml"

internal/buildscripts/packaging/release/sign_release.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,11 +124,12 @@ def main():
124124
if resp.lower() not in ("y", "yes"):
125125
sys.exit(1)
126126

127+
if not args.assets_dir:
128+
args.assets_dir = os.path.join(ASSETS_BASE_DIR, args.tag)
129+
127130
if args.path:
128131
assets = get_local_assets(args)
129132
else:
130-
if not args.assets_dir:
131-
args.assets_dir = os.path.join(ASSETS_BASE_DIR, args.tag)
132133
resp = input(f"Downloading assets from {github_release.html_url} to '{args.assets_dir}'.\nContinue? [y/N]: ")
133134
if resp.lower() not in ("y", "yes"):
134135
sys.exit(1)

0 commit comments

Comments
 (0)