mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2026-02-04 08:18:34 +00:00
GODT-1977: add pre-release flag to app version on qa builds
This commit is contained in:
@ -63,11 +63,6 @@ const (
|
||||
Host = "127.0.0.1"
|
||||
)
|
||||
|
||||
// AppVersion returns the full rendered version of the app (to be used in request headers).
|
||||
func AppVersion(version string) string {
|
||||
return fmt.Sprintf("%v-%v@%v", getAPIOS(), AppName, version)
|
||||
}
|
||||
|
||||
// nolint:goconst
|
||||
func getAPIOS() string {
|
||||
switch runtime.GOOS {
|
||||
|
||||
Reference in New Issue
Block a user