From ad5aec3f3b42a81d6779f03e65827289fc2c848d Mon Sep 17 00:00:00 2001 From: Alexander Neumann Date: Sun, 12 Aug 2018 23:25:10 +0200 Subject: [PATCH] Add entry to changelog --- changelog/unreleased/pull-1949 | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 changelog/unreleased/pull-1949 diff --git a/changelog/unreleased/pull-1949 b/changelog/unreleased/pull-1949 new file mode 100644 index 000000000..fd2b2e1b3 --- /dev/null +++ b/changelog/unreleased/pull-1949 @@ -0,0 +1,15 @@ +Enhancement: Add new command `self-update` + +We have added a new command called `self-update` which downloads the +latest released version of restic from GitHub and replaces the current +binary with it. It does not rely on any external program (so it'll work +everywhere), but still verifies the GPG signature using the embedded GPG +public key. + +By default, the `self-update` command is hidden behind the `selfupdate` +built tag, which is only set when restic is built using `build.go` (including +official releases). The reason for this is that downstream distributions will +then not include the command by default, so users are encouraged to use the +platform-specific distribution mechanism. + +https://github.com/restic/restic/pull/1949