Browse Source

Add NANO-Modules to ModularGrid-VCVLibrary. Tweak update.py.

v1
Andrew Belt 4 years ago
parent
commit
357cda4345
2 changed files with 71 additions and 4 deletions
  1. +63
    -0
      ModularGrid-VCVLibrary.json
  2. +8
    -4
      scripts/update.py

+ 63
- 0
ModularGrid-VCVLibrary.json View File

@@ -997,5 +997,68 @@
"vcvUrl": "https://library.vcvrack.com/Starling_Via/GATESEQ",
"mgUrl": "https://www.modulargrid.net/e/starling-via-gateseq",
"mgModuleId": 21796
},
{
"pluginSlug": "NANOModules",
"moduleSlug": "MAR",
"vcvUrl": "https://library.vcvrack.com/NANOModules/MAR",
"mgUrl": "https://www.modulargrid.net/e/nano-modules-mar",
"mgModuleId": 18168
},
{
"pluginSlug": "NANOModules",
"moduleSlug": "FONT",
"vcvUrl": "https://library.vcvrack.com/NANOModules/FONT",
"mgUrl": "https://www.modulargrid.net/e/nano-modules-font",
"mgModuleId": 21864
},
{
"pluginSlug": "NANOModules",
"moduleSlug": "ALT",
"vcvUrl": "https://library.vcvrack.com/NANOModules/ALT",
"mgUrl": "https://www.modulargrid.net/e/nano-modules-alt",
"mgModuleId": 22980
},
{
"pluginSlug": "NANOModules",
"moduleSlug": "QUART",
"vcvUrl": "https://library.vcvrack.com/NANOModules/QUART",
"mgUrl": "https://www.modulargrid.net/e/nano-modules-quart",
"mgModuleId": 25549
},
{
"pluginSlug": "NANOModules",
"moduleSlug": "BLANK12Hp",
"vcvUrl": "https://library.vcvrack.com/NANOModules/BLANK12Hp",
"mgUrl": "https://www.modulargrid.net/e/nano-modules-blank-12hp",
"mgModuleId": 25231
},
{
"pluginSlug": "NANOModules",
"moduleSlug": "BLANK8Hp",
"vcvUrl": "https://library.vcvrack.com/NANOModules/BLANK8Hp",
"mgUrl": "https://www.modulargrid.net/e/nano-modules-blank-8hp",
"mgModuleId": 25230
},
{
"pluginSlug": "NANOModules",
"moduleSlug": "BLANK6Hp",
"vcvUrl": "https://library.vcvrack.com/NANOModules/BLANK6Hp",
"mgUrl": "https://www.modulargrid.net/e/nano-modules-blank-6hp",
"mgModuleId": 25229
},
{
"pluginSlug": "NANOModules",
"moduleSlug": "BLANK4Hp",
"vcvUrl": "https://library.vcvrack.com/NANOModules/BLANK4Hp",
"mgUrl": "https://www.modulargrid.net/e/nano-modules-blank-4hp",
"mgModuleId": 25228
},
{
"pluginSlug": "NANOModules",
"moduleSlug": "BLANK2Hp",
"vcvUrl": "https://library.vcvrack.com/NANOModules/BLANK2Hp",
"mgUrl": "https://www.modulargrid.net/e/nano-modules-blank-2hp",
"mgModuleId": 25227
}
]

+ 8
- 4
scripts/update.py View File

@@ -16,7 +16,7 @@ RACK_USER_PLUGIN_DIR = os.path.join(RACK_USER_DIR, "plugins-v1")

# Update git before continuing
build.system("git pull")
# build.system("git submodule sync")
build.system("git submodule sync --quiet")
build.system("git submodule update --init --recursive")

plugin_filenames = sys.argv[1:]
@@ -119,19 +119,23 @@ if not updated_slugs:
print("Nothing to build")
exit(0)

built_slugs_str = ", ".join(updated_slugs)

print("Press enter to upload packages and push library repo")
print()
print(f"Please test packages and generate screenshots.")
print(f"Press enter to upload the following packages and push the library repo: {built_slugs_str}")
input()

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

# Upload screenshots
build.system("cd ../screenshots && make upload")

# Commit repository
build.system("git add manifests")
built_slugs_str = ", ".join(updated_slugs)
build.system(f"git commit -m 'Update manifest for {built_slugs_str}'")
build.system("git push")

print()
print(f"Updated {built_slugs_str}")
print("Remember to generate and upload screenshots")

Loading…
Cancel
Save