diff --git a/emsdk b/emsdk index fc69d67..bf7671f 100755 --- a/emsdk +++ b/emsdk @@ -1767,8 +1767,11 @@ def main(): parameter, also historical versions are shown. - emsdk update - Fetches a list of updates from the net (but - does not install them) + emsdk update - Updates emsdk to the newest version, and also + runs 'update-tags' (below). + + emsdk update-tags - Fetches the most up to date list of available + Emscripten tagged and nightly releases. emsdk install [options] ... - Downloads and installs given tools or SDKs. @@ -1977,6 +1980,9 @@ def main(): update_emsdk() silentremove(sdk_path(EMSDK_SET_ENV)) # Clean up litter after old emsdk update which may have left this temp file around. return 0 + elif cmd == 'update-tags': + fetch_emscripten_tags() + return 0 elif cmd == 'activate': permanently_activate = '--global' in sys.argv if permanently_activate: