Skip to content

Commit

Permalink
truffle_language_ensure: Explicitly resolve binary "branchref"
Browse files Browse the repository at this point in the history
  • Loading branch information
gilles-duboscq committed Feb 5, 2018
1 parent 2519027 commit 3089741
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
10 changes: 2 additions & 8 deletions substratevm/mx.substratevm/mx_substratevm.py
Original file line number Diff line number Diff line change
Expand Up @@ -363,15 +363,9 @@ def truffle_language_ensure(language_flag, version=None, native_image_root=None)

if not version:
# If no specific version requested use binary import of last recently deployed master version
version = 'git-bref:binary'
repo_suite_name = language_repo_name if language_repo_name else language_suite_name
urlinfos.append(
mx.SuiteImportURLInfo(
mx_urlrewrites.rewriteurl('https://github.com/graalvm/{0}.git'.format(repo_suite_name)),
'source',
mx.vc_system('git')
)
)
repo_url = mx_urlrewrites.rewriteurl('https://github.com/graalvm/{0}.git'.format(repo_suite_name))
version = mx.SuiteImport.resolve_git_branchref(repo_url, 'binary', abortOnError=False)

language_suite = suite.import_suite(
language_suite_name,
Expand Down
2 changes: 1 addition & 1 deletion substratevm/mx.substratevm/suite.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
suite = {
"mxversion": "5.137.0",
"mxversion": "5.138.0",
"name": "substratevm",

"defaultLicense" : "GPLv2-CPE",
Expand Down

0 comments on commit 3089741

Please sign in to comment.