Error: Invalid value for '--experimental-login'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I'm trying to login to snapcraft via a GitHub Action to automatically deploy my snap. When I try to do this via `snapcraft login --with <(echo "$SNAPCRAFT_
```
Error: Invalid value for '--experimental
is not a valid boolean
Error: Process completed with exit code 2.
```
This is detailed here: https:/
I was able to do this previously without any issues, but when I bump my CI environment from Ubuntu 18.04 to Ubuntu 20.04 I'm getting this issue, possibly because the new 4.6 release: https:/
Other people seem to be experiencing this as well: https:/
This has been fixed in https:/ /github. com/snapcore/ snapcraft/ pull/3493
That should be pulled in soon, but in the meantime you can rename your environment variable from SNAPCRAFT_LOGIN to something else to avoid naming conflicts and it should work. Thanks!