v0.2.0
Self-update the installed ndnx binary from GitHub Releases.
Self-update
ndnx --update (with no package identity) checks GitHub Releases, prints the version being installed, replaces the running binary, and exits.
ndnx --update # latest stable release
ndnx --update 0.1.1 # exact version, including downgrades
A leading v is accepted (--update v0.1.1). --update=0.1.1 and --update --version 0.1.1 work too.
If you are already on that version, ndnx says so and does nothing. Otherwise it downloads the RID archive (win-x64, linux-arm64, …) and its .sha256, verifies the hash, and swaps the executable. On Windows the running file is renamed first so the replace can succeed.
NDNX_REPO still overrides which GitHub repository is used (same as the install scripts).
--update cannot be combined with a package name or extra tool arguments.
Sponsors
The following sponsors made this release possible: @clarius, @MFB-Technologies-Inc, @sandrock, @drivenet, @Keflon, @tbolon, @kfrancis, @rbnswartz, @jfoshee, @Mrxx99, @eajhnsn1, @Jonathan-Hickey, @KenBonny, @SimonCropp, @agileworks-eu, @arsdragonfly, @vezel-dev, @ChilliCream, @4OTC, @DominicSchell, @adalon, @torutek, @mccaffers, @SeikaLogiciel, @wizardness, @eska-gmbh, @geodata-no.
Thanks 💜