From 8e4672010bfd21fbba433139c0dcbf36af1daa67 Mon Sep 17 00:00:00 2001 From: eding Date: Sun, 6 Sep 2026 09:59:14 +0200 Subject: [PATCH] fix: publish app from external source checkout --- cmd/bootstrap.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/cmd/bootstrap.go b/cmd/bootstrap.go index 4179a9d..3992831 100644 --- a/cmd/bootstrap.go +++ b/cmd/bootstrap.go @@ -143,13 +143,6 @@ func runBootstrap(cmd *cobra.Command, args []string) error { if err := ensurePublishAppCheckoutClean(bootstrapPublishAppFrom); err != nil { return err } - origin, err := forgejo.CheckoutOrigin(bootstrapPublishAppFrom) - if err != nil { - return err - } - if config.RedactURL(origin) != cfg.Delivery.AppRepoURL { - return fmt.Errorf("--publish-app-from origin does not match delivery appRepoUrl") - } branch, err := forgejo.CurrentBranch(bootstrapPublishAppFrom) if err != nil { return err