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 authored and GitHub committed 2022-12-28 15:49:11 +01:00
commit bcae28afb4
2 files changed
+10 -1

No files matched your search

+9
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
+1 -1
View File
@@ -1,4 +1,4 @@
// xbuild selfupdate
//go:build selfupdate
package main