Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bal build asks a version to be pulled that's not available under bal dist list #5818

Open
IMS94 opened this issue Nov 6, 2024 · 0 comments
Labels

Comments

@IMS94
Copy link
Contributor

IMS94 commented Nov 6, 2024

Description

See the following outputs of bal build and bal dist list:

vscode ➜ /workspaces/ballerina_examples (master ✗) $ bal dist list
Distributions available locally: 

* 2201.3.5

Distributions available remotely:

Swan Lake channel

  2201.9.4 - latest
  2201.9.3
  2201.9.2
  2201.9.1
  2201.9.0
  2201.8.8
  2201.8.7
  2201.8.6
  2201.8.5
  2201.8.4

1.* channel

  1.2.54 - latest
  1.2.53
  1.2.52
  1.2.51
  1.2.50
  1.2.49
  1.2.48
  1.2.45
  1.2.47
  1.2.46

Use 'bal dist list -a' to list all the distributions under each channel. 
Use 'bal help dist' for more information on specific commands.

bal build output:

vscode ➜ /workspaces/ballerina_examples (master ✗) $ cd http_crud_service/
vscode ➜ /workspaces/ballerina_examples/http_crud_service (master ✗) $ bal build
A new version of Ballerina is available: 2201.10.2
Use 'bal dist pull 2201.10.2' to download and use the distribution

Steps to Reproduce

See description. Run bal dist list and bal build (in a bal project). The version 2201.10.2 isn't listed under bal dist list.

Version

2201.3.5

Environment Details (with versions)

I was using the 2201.3.5 devcontainer. But I remember seeing the same error on a newer version as well.

@IMS94 IMS94 added the Type/Bug label Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant