Skip to content

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

@IMS94

Description

@IMS94

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions