mirror of
https://github.com/octoleo/syncthing.git
synced 2024-12-23 19:39:05 +00:00
d6a7ffe0d4
New signature is the HMAC of archive name (which includes the release version and architecture) plus the contents of the binary. This is expected in a new file "release.sig" which may be present in a subdirectory. The new release tools put this in [.]metadata/release.sig. GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3043
24 lines
611 B
Go
24 lines
611 B
Go
// Copyright (C) 2014 The Syncthing Authors.
|
|
//
|
|
// This Source Code Form is subject to the terms of the Mozilla Public
|
|
// License, v. 2.0. If a copy of the MPL was not distributed with this file,
|
|
// You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
// +build noupgrade
|
|
|
|
package upgrade
|
|
|
|
const DisabledByCompilation = true
|
|
|
|
func upgradeTo(binary string, rel Release) error {
|
|
return ErrUpgradeUnsupported
|
|
}
|
|
|
|
func upgradeToURL(archiveName, binary, url string) error {
|
|
return ErrUpgradeUnsupported
|
|
}
|
|
|
|
func LatestRelease(releasesURL, version string) (Release, error) {
|
|
return Release{}, ErrUpgradeUnsupported
|
|
}
|