fixup deps
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
parent
c67724689d
commit
222cde894d
@ -331,9 +331,9 @@ func giteaPullRequest(ctx context.Context, cfg *Config, branch string, mods map[
|
||||
logger.Fatalf(ctx, "failed to commit: %v", err)
|
||||
}
|
||||
|
||||
refspec := gitconfig.RefSpec(fmt.Sprintf("+" + newref.Name().String() + ":refs/heads/" + newref.Name().String()))
|
||||
refspec := gitconfig.RefSpec(fmt.Sprintf("+" + newref.Name().String() + ":" + newref.Name().String()))
|
||||
logger.Infof(ctx, "try to push %s", refspec)
|
||||
os.Exit(0)
|
||||
|
||||
if err = repo.PushContext(ctx, &git.PushOptions{
|
||||
RefSpecs: []gitconfig.RefSpec{refspec},
|
||||
Auth: &httpauth.BasicAuth{Username: envTOKEN, Password: envTOKEN},
|
||||
|
Loading…
Reference in New Issue
Block a user