Debian Codegraph @

changelog/0.9.3_2018-10-13/pull-1949

raw
1 Enhancement: Add new command `self-update`
2
3 We have added a new command called `self-update` which downloads the
4 latest released version of restic from GitHub and replaces the current
5 binary with it. It does not rely on any external program (so it'll work
6 everywhere), but still verifies the GPG signature using the embedded GPG
7 public key.
8
9 By default, the `self-update` command is hidden behind the `selfupdate`
10 built tag, which is only set when restic is built using `build.go` (including
11 official releases). The reason for this is that downstream distributions will
12 then not include the command by default, so users are encouraged to use the
13 platform-specific distribution mechanism.
14
15 https://github.com/restic/restic/pull/1949