fix: recover externally removed Talos VMs #29
|
|
@ -143,13 +143,6 @@ func runBootstrap(cmd *cobra.Command, args []string) error {
|
||||||
if err := ensurePublishAppCheckoutClean(bootstrapPublishAppFrom); err != nil {
|
if err := ensurePublishAppCheckoutClean(bootstrapPublishAppFrom); err != nil {
|
||||||
return err
|
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)
|
branch, err := forgejo.CurrentBranch(bootstrapPublishAppFrom)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue