Skip to content

Commit e775617

Browse files
elboulangeroanthonyfok
authored andcommitted
Fix make output: run 'git push' before 'gbp push'
As mentiond in Debian#107, running 'gbp push' when there's no debian tag is not the right thing to do, as it will only push the upstream branch. Consequences are: 1. The default gitlab branch is set to the upstream branch instead of the debian branch. 2. The debian branch is not pushed and needs to be pushed manually anyway. I believe that the best thing to do instead is just to run 'git push origin <debian-branch>' first, and then run 'gbp push'. Closes: Debian#107
1 parent c6dd501 commit e775617

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

make.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1000,6 +1000,7 @@ func execMake(args []string, usage func()) {
10001000
fmt.Printf(" dh-make-golang create-salsa-project %s\n", debsrc)
10011001
fmt.Printf("\n")
10021002
fmt.Printf("Once you are happy with your packaging, push it to salsa using:\n")
1003+
fmt.Printf(" git push origin %s\n", debBranch)
10031004
fmt.Printf(" gbp push\n")
10041005
fmt.Printf("\n")
10051006

0 commit comments

Comments
 (0)