Skip to content

Commit

Permalink
Update agent config path in release script (#143)
Browse files Browse the repository at this point in the history
  • Loading branch information
jchengsfx committed Mar 3, 2021
1 parent 6ee49fa commit 15356b2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@
# MSI
WIX_IMAGE = "felfert/wix:latest"
WXS_PATH = "internal/buildscripts/packaging/msi/splunk-otel-collector.wxs"
MSI_CONFIG = "cmd/otelcol/config/collector/agent_config_windows.yaml"
MSI_CONFIG = "cmd/otelcol/config/collector/agent_config.yaml"
5 changes: 3 additions & 2 deletions internal/buildscripts/packaging/release/sign_release.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,11 +124,12 @@ def main():
if resp.lower() not in ("y", "yes"):
sys.exit(1)

if not args.assets_dir:
args.assets_dir = os.path.join(ASSETS_BASE_DIR, args.tag)

if args.path:
assets = get_local_assets(args)
else:
if not args.assets_dir:
args.assets_dir = os.path.join(ASSETS_BASE_DIR, args.tag)
resp = input(f"Downloading assets from {github_release.html_url} to '{args.assets_dir}'.\nContinue? [y/N]: ")
if resp.lower() not in ("y", "yes"):
sys.exit(1)
Expand Down

0 comments on commit 15356b2

Please sign in to comment.