Skip to content

Comments

Build CLI binary on 22.04 #2725

Merged
sukantoraymond merged 1 commit intomainfrom
update-release-yml
Apr 7, 2025
Merged

Build CLI binary on 22.04 #2725
sukantoraymond merged 1 commit intomainfrom
update-release-yml

Conversation

@sukantoraymond
Copy link
Contributor

@sukantoraymond sukantoraymond commented Apr 7, 2025

Closes #2723

Enables CLI binary compatibility with 22.04 ubuntu. It is still compatible with 24.04.

If we build CLI on 24.04, users won't be able to install CLI binary on ubuntu 22.04

ubuntu@ip-172-31-29-94:~$ /home/ubuntu/bin/avalanche --version
avalanche version 1.8.9-rc4
ubuntu@ip-172-31-29-94:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 22.04.5 LTS
Release:        22.04
Codename:       jammy
ubuntu@ip-172-31-16-118:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 24.04.2 LTS
Release:        24.04
Codename:       noble
ubuntu@ip-172-31-16-118:~$ /home/ubuntu/bin/avalanche --version
avalanche version 1.8.9-rc4

release:
needs: [lint, unit_test]
runs-on: ubuntu-24.04
runs-on: ubuntu-22.04
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

any specific reason to use this version?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Enables CLI binary compatibility with 22.04 ubuntu. It is still compatible with 24.04.

If we build CLI on 24.04, users won't be able to install CLI binary on ubuntu 22.04

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ubuntu@ip-172-31-29-94:~$ /home/ubuntu/bin/avalanche --version
avalanche version 1.8.9-rc4
ubuntu@ip-172-31-29-94:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 22.04.5 LTS
Release:        22.04
Codename:       jammy

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ubuntu@ip-172-31-16-118:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 24.04.2 LTS
Release:        24.04
Codename:       noble
ubuntu@ip-172-31-16-118:~$ /home/ubuntu/bin/avalanche --version
avalanche version 1.8.9-rc4

@sukantoraymond sukantoraymond changed the title use 22.04 Build CLI binary on 22.04 Apr 7, 2025
Copy link
Collaborator

@felipemadero felipemadero left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@github-project-automation github-project-automation bot moved this from Backlog 🗄️ to In Review 👀 in avalanchego Apr 7, 2025
@sukantoraymond sukantoraymond merged commit 39ffb98 into main Apr 7, 2025
47 of 48 checks passed
@sukantoraymond sukantoraymond deleted the update-release-yml branch April 7, 2025 21:47
@github-project-automation github-project-automation bot moved this from In Review 👀 to Done ✅ in avalanchego Apr 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

[Bug]: avalanche cli is not working

3 participants