Skip to content

Commit

Permalink
Enable pushing to Central
Browse files Browse the repository at this point in the history
  • Loading branch information
pubudu91 committed Oct 14, 2022
1 parent e2f7689 commit b39db5f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions build.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,7 @@ def build_and_push_to_central(project_name, bal_toml):
if os.environ.get('BALLERINA_PROD_CENTRAL', 'false').casefold() == 'true':
return 0

# TODO: Remove --repository=local
exit_code = os.system(f'bal push --repository=local {get_bala_path(project_name, bal_toml)}')
exit_code = os.system(f'bal push {get_bala_path(project_name, bal_toml)}')

# Not incrementing the exit_code_aggragate for this case since even if this fails, this is something we can
# easily re-try manually later on since the bala file gets attached as a release artifact.
Expand Down

0 comments on commit b39db5f

Please sign in to comment.