diff --git a/server/controllers/other.go b/server/controllers/other.go index dd73854751e..6a4968f3997 100644 --- a/server/controllers/other.go +++ b/server/controllers/other.go @@ -25,7 +25,10 @@ func Plist(c *gin.Context) { } u := string(bytes) name := utils.Base(u) - name = strings.TrimRight(name, ".ipa") + ipaIndex := strings.Index(name, ".ipa") + if ipaIndex != -1 { + name = name[:ipaIndex] + } plist := fmt.Sprintf(` @@ -46,7 +49,7 @@ func Plist(c *gin.Context) { bundle-identifier ci.nn.%s bundle-version - 4.0 + 4.4 kind software title