Merge pull request #4100 from klemensn/tag-self-update

Reinstate selfupdate tag to make builds without self-update work
This commit is contained in:
Michael Eischer 2022-12-28 15:49:11 +01:00 committed by GitHub
commit bcae28afb4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 1 deletions

View File

@ -0,0 +1,9 @@
Bugfix: Restore self-update to disabled-by-default
Due to a typo, the `self-update` feature was always compiled, even if the
`selfupdate` tag was not explicitly enabled.
As intended, it is now disabled by default.
Official builds using `build.go` continue to explicitly enable it.
https://github.com/restic/restic/pull/4100

View File

@ -1,4 +1,4 @@
// xbuild selfupdate
//go:build selfupdate
package main