We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cfbfe75 commit e4c762bCopy full SHA for e4c762b
tasks/libs/releasing/version.py
@@ -374,10 +374,11 @@ def get_version_numeric_only(ctx, major_version='7'):
374
def load_dependencies(_):
375
with open("release.json") as f:
376
versions = json.load(f)
377
+ if RELEASE_JSON_DEPENDENCIES not in versions:
378
+ raise Exception(f"Could not find '{RELEASE_JSON_DEPENDENCIES}' in release.json")
379
# windows runners don't accepts anything else than strings in the
380
# environment when running a subprocess.
381
return {str(k): str(v) for k, v in versions[RELEASE_JSON_DEPENDENCIES].items()}
- raise Exception(f"Could not find '{RELEASE_JSON_DEPENDENCIES}' in release.json")
382
383
384
def create_version_json(ctx, git_sha_length=7):
0 commit comments