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

aqua install error #436

Closed
watarukura opened this issue Feb 28, 2023 · 2 comments · Fixed by #437
Closed

aqua install error #436

watarukura opened this issue Feb 28, 2023 · 2 comments · Fixed by #437
Labels
bug Something isn't working

Comments

@watarukura
Copy link
Contributor

🔧 Summary

I use lefthook with https://github.com/aquaproj/aqua-registry.
Before lefthook 1.3.1 is OK, but, when install 1.3.1 and error occured.

$ aqua i
INFO[0000] download and unarchive the package            aqua_version=1.33.0 env=darwin/amd64 package_name=evilmartians/lefthook package_version=v1.3.1 program=aqua registry=standard
ERRO[0001] install the package                           aqua_version=1.33.0 env=darwin/amd64 error="the asset isn't found: lefthook_1.3.1_MacOS_x86_64" package_name=evilmartians/lefthook package_version=v1.3.1 program=aqua registry=standard
FATA[0001] aqua failed                                   aqua_version=1.33.0 env=darwin/amd64 error="it failed to install some packages" program=aqua

Lefthook version

1.3.1

Steps to reproduce

require Mac.

$ brew install aqua
$ aqua init
$ vim aqua.yaml
$ cat aqua.yaml
---
# aqua - Declarative CLI Version Manager
# https://aquaproj.github.io/
registries:
  - type: standard
    ref: v3.138.0  # renovate: depName=aquaproj/aqua-registry

packages:
  - name: evilmartians/lefthook@v1.3.1
$ aqua i

Expected results

lefthook 1.3.1 is installed

Actual results

$ aqua i
INFO[0000] download and unarchive the package            aqua_version=1.33.0 env=darwin/amd64 package_name=evilmartians/lefthook package_version=v1.3.1 program=aqua registry=standard
ERRO[0001] install the package                           aqua_version=1.33.0 env=darwin/amd64 error="the asset isn't found: lefthook_1.3.1_MacOS_x86_64" package_name=evilmartians/lefthook package_version=v1.3.1 program=aqua registry=standard
FATA[0001] aqua failed                                   aqua_version=1.33.0 env=darwin/amd64 error="it failed to install some packages" program=aqua

Possible Solution

Does release assets name changed?
lefthook_1.3.0_MacOS_x86_64 -> lefthook_1.3.1_MacOSx86_64

Screenshots (if appropriate)

@watarukura watarukura added the bug Something isn't working label Feb 28, 2023
@mrexox
Copy link
Member

mrexox commented Mar 1, 2023

Thank you very much! Going to release a patch version as soon as possible!

@mrexox
Copy link
Member

mrexox commented Mar 1, 2023

I have updated the binaries in 1.3.2 and 1.3.1 releases. I hope it fixes the aqua installation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants