We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b7a9f1 commit 0feb7bbCopy full SHA for 0feb7bb
ci/notes/CHANGELOG.md
@@ -4,4 +4,5 @@ We have enhanced the phlow so it's better to use it when building pipelines supp
4
5
#### Features
6
- upnext now has a prefix option #79 @groenborg
7
+- deliver now always change back to your default branch #75 @groenborg
8
phlow/deliver.go
@@ -37,6 +37,13 @@ func Deliver(defaultBranch string) {
37
fmt.Println(err)
38
return
39
}
40
+
41
+ githandler.CheckOut(defaultBranch)
42
+ if err != nil {
43
+ fmt.Printf("chould not switch to branch %s \n", defaultBranch)
44
+ return
45
+ }
46
47
fmt.Printf("Branch %s is now delivered \n", ui.Format.Branch(branchInfo.Current))
48
49
0 commit comments