fix: publish app from external source checkout
This commit is contained in:
parent
214b00720a
commit
8e4672010b
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue