Commit f951a43c authored by Hugh Davenport's avatar Hugh Davenport

Update Makefile for new gerrit syntax

Turns out that the refs/for/ syntax is deprecated
for refs/publish/ which was brought in when drafts
were.

Change-Id: I80fe5c6ccad090aab6fb9c426285c5d49c0b8082
Signed-off-by: 's avatarHugh Davenport <hugh@catalyst.net.nz>
parent 0965e97c
...@@ -22,7 +22,7 @@ jenkinsaccept: minaccept ...@@ -22,7 +22,7 @@ jenkinsaccept: minaccept
push: minaccept push: minaccept
@echo "Pushing the change upstream..." @echo "Pushing the change upstream..."
@if test -z "$(TAG)"; then \ @if test -z "$(TAG)"; then \
git push gerrit HEAD:refs/for/master; \ git push gerrit HEAD:refs/publish/master; \
else \ else \
git push gerrit HEAD:refs/for/master/$(TAG); \ git push gerrit HEAD:refs/publish/master/$(TAG); \
fi fi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment