Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
8 changes: 8 additions & 0 deletions bin/build-cli-plugin
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,14 @@ def main(output):
# Copy wheel
shutil.copy(wheel_path, output_dir / wheel_name)

# Copy license
click.echo("Copying license...")
license_path = repo_root / "LICENSE.txt"
if license_path.exists():
shutil.copy(license_path, output_dir / "LICENSE.txt")
else:
click.secho("Warning: LICENSE.txt not found", fg="yellow", err=True)

# Render manifest
click.echo(f"Rendering manifest.json with version {version}...")
render_manifest(output_dir / "manifest.json", version)
Expand Down
2 changes: 1 addition & 1 deletion datarobot-cli-plugin/dr-apps.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ $ScriptDir = Split-Path -Parent $MyInvocation.MyCommand.Path

# Handle --dr-plugin-manifest flag for CLI integration
if ($args.Count -gt 0 -and $args[0] -eq "--dr-plugin-manifest") {{
Write-Output '{{\"name\":\"{plugin_name}\",\"version\":\"{version}\",\"description\":\"{plugin_description}\"}}'
Get-Content "$ScriptDir\manifest.json" -Raw
exit 0
}}

Expand Down
4 changes: 1 addition & 3 deletions datarobot-cli-plugin/dr-apps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@ SCRIPT_DIR="$(cd "$(dirname "${{BASH_SOURCE[0]}}")" && pwd)"

# Handle --dr-plugin-manifest flag for CLI integration
if [[ "${{1:-}}" == "--dr-plugin-manifest" ]]; then
cat << 'EOF'
{{"name":"{plugin_name}","version":"{version}","description":"{plugin_description}"}}
EOF
cat "$SCRIPT_DIR/manifest.json"
exit 0
fi

Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[metadata]
version = 11.1.1
version = 11.1.2