Browse Source

Allow packages with OS-CPU arch strings.

pull/785/head
Andrew Belt 2 years ago
parent
commit
89ae982479
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      scripts/update.py

+ 2
- 2
scripts/update.py View File

@@ -49,7 +49,7 @@ for plugin_path in plugin_paths:
version = manifest['version'] version = manifest['version']
# Extract manifest from .vcvplugin # Extract manifest from .vcvplugin
elif plugin_ext == ".vcvplugin": elif plugin_ext == ".vcvplugin":
m = re.match(r'^(.*)-(.*?)-(.*?)$', plugin_basename)
m = re.match(r'^(.*)-(2\..*?)-(.*)$', plugin_basename)
if not m: if not m:
raise Exception(f"Filename {plugin_path} invalid format") raise Exception(f"Filename {plugin_path} invalid format")
slug = m[1] slug = m[1]
@@ -119,7 +119,7 @@ for plugin_path in plugin_paths:
# Update file timestamp # Update file timestamp
common.system(f'touch "{PACKAGES_DIR}/{package_filename}"') common.system(f'touch "{PACKAGES_DIR}/{package_filename}"')
# Install Linux package for testing # Install Linux package for testing
if arch == 'lin':
if arch == 'lin' or arch == 'lin-x64':
common.system(f'cp "{plugin_path}" "{PLUGIN_DIR}/{package_filename}"') common.system(f'cp "{plugin_path}" "{PLUGIN_DIR}/{package_filename}"')


# Copy manifest # Copy manifest


Loading…
Cancel
Save