Browse Source

Update builds

pull/520/head
Andrew Belt 6 years ago
parent
commit
4bb8bf847d
3 changed files with 27 additions and 10 deletions
  1. +3
    -3
      manifests/Valley.json
  2. +5
    -2
      manifests/arjo_modules.json
  3. +19
    -5
      scripts/build_updates.py

+ 3
- 3
manifests/Valley.json View File

@@ -5,8 +5,8 @@
"manualUrl": "https://github.com/ValleyAudio/ValleyRackFree/blob/master/README.md",
"sourceUrl": "https://github.com/ValleyAudio/ValleyRackFree/",
"donateUrl": "https://www.paypal.me/valleyvcv",
"latestVersion": "0.6.5",
"latestVersion": "0.6.6",
"repoVersion": "0.6.6",
"status": "available",
"buildTimestamp": 1531096120
}
"buildTimestamp": 1538614063
}

+ 5
- 2
manifests/arjo_modules.json View File

@@ -6,5 +6,8 @@
"authorUrl": "https://github.com/ArjoNagelhout",
"manualUrl": "https://github.com/ArjoNagelhout/arjo_modules/blob/master/README.md",
"sourceUrl": "https://github.com/ArjoNagelhout/arjo_modules",
"repoVersion": "0.6.0"
}
"repoVersion": "0.6.0",
"latestVersion": "0.6.0",
"buildTimestamp": 1538613922,
"status": "available"
}

+ 19
- 5
scripts/build_updates.py View File

@@ -6,6 +6,10 @@ import time
import build_plugin


build_plugin.system("git pull")
build_plugin.system("git submodule update --init --recursive")


plugin_dirs = sys.argv[1:]

if not plugin_dirs:
@@ -47,8 +51,18 @@ for plugin_dir in plugin_dirs:
built_slugs.append(slug)


if built_slugs:
print()
print("Built " + ", ".join(built_slugs))
else:
print("Nothing to build")
if not built_slugs:
raise Exception("Nothing to build")


# Upload packages
build_plugin.system("cd ../downloads && make upload")

# Commit repository
build_plugin.system("git add -u")
build_plugin.system("git commit -m 'Updated builds'")
build_plugin.system("git push")


print()
print("Built " + ", ".join(built_slugs))

Loading…
Cancel
Save