From 4bb8bf847d4d37c3324403b89c46d967e30375e9 Mon Sep 17 00:00:00 2001 From: Andrew Belt Date: Wed, 3 Oct 2018 20:52:21 -0400 Subject: [PATCH] Update builds --- manifests/Valley.json | 6 +++--- manifests/arjo_modules.json | 7 +++++-- scripts/build_updates.py | 24 +++++++++++++++++++----- 3 files changed, 27 insertions(+), 10 deletions(-) diff --git a/manifests/Valley.json b/manifests/Valley.json index bb9695db..0ab43ea0 100644 --- a/manifests/Valley.json +++ b/manifests/Valley.json @@ -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 +} \ No newline at end of file diff --git a/manifests/arjo_modules.json b/manifests/arjo_modules.json index b2b27a42..c7fa62ac 100644 --- a/manifests/arjo_modules.json +++ b/manifests/arjo_modules.json @@ -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" +} \ No newline at end of file diff --git a/scripts/build_updates.py b/scripts/build_updates.py index f56bb402..5460c642 100644 --- a/scripts/build_updates.py +++ b/scripts/build_updates.py @@ -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))