it downloads and extracts the tarball, but fails when trying to call the contained binary with dfxvm-init --self-replace, since the older releases obviously don't support this functionality
copied the dfxvm binary over the dfxvm-init-self-update binary in the bin directory
called dfxvm-init-self-update --self-replace in the bin directory
Checklist:
[x] I have edited the CHANGELOG accordingly.
[x] I have made corresponding changes to the documentation in docs/cli-reference.
Description
Adds the
dfxvm self update
command.Fixes https://dfinity.atlassian.net/browse/SDK-1272
How Has This Been Tested?
Added tests
Tested locally by:
dfxvm self update
dfxvm-init --self-replace
, since the older releases obviously don't support this functionalitydfxvm-init-self-update --self-replace
in the bin directoryChecklist: