Browse Source

Update Bogaudio build

pull/514/head
Andrew Belt 6 years ago
parent
commit
2401fae6aa
2 changed files with 6 additions and 4 deletions
  1. +3
    -3
      manifests/Bogaudio.json
  2. +3
    -1
      scripts/build_updates.py

+ 3
- 3
manifests/Bogaudio.json View File

@@ -4,8 +4,8 @@
"license": "BSD-3-Clause",
"manualUrl": "https://github.com/bogaudio/BogaudioModules/blob/master/README.md",
"sourceUrl": "https://github.com/bogaudio/BogaudioModules",
"latestVersion": "0.6.6",
"repoVersion": "0.6.6",
"latestVersion": "0.6.7",
"repoVersion": "0.6.7",
"status": "available",
"buildTimestamp": 1524688312
"buildTimestamp": 1529640918
}

+ 3
- 1
scripts/build_updates.py View File

@@ -48,7 +48,9 @@ def delete_package(slug):


repos = sys.argv[1:]
force_update = True
if not repos:
force_update = False
repos = glob.glob("repos/*")

built_repos = []
@@ -63,7 +65,7 @@ for repo in repos:
if 'repoVersion' not in manifest:
continue
# Skip if update is not needed
if 'repoVersion' in manifest and 'latestVersion' in manifest and manifest['latestVersion'] == manifest['repoVersion']:
if not force_update and 'repoVersion' in manifest and 'latestVersion' in manifest and manifest['latestVersion'] == manifest['repoVersion']:
continue

# Build repo


Loading…
Cancel
Save