Ignore subtree pull failures
Rather than potentially leaving the developer in a state where `git stash pop` wasn't run, ignore failures in git subtree and let the developer fix issues and re-run the command. This makes `make-update` more idempotent.
This commit is contained in:
2
Makefile
2
Makefile
@@ -12,5 +12,5 @@ include .gitlab/make/truenas.makefile
|
||||
.PHONY: make-update
|
||||
make-update:
|
||||
@git stash
|
||||
@git subtree pull --prefix .gitlab git@gitlab.ducoterra.net:services/common.git main --squash
|
||||
-git subtree pull --prefix .gitlab git@gitlab.ducoterra.net:services/common.git main --squash
|
||||
@git stash pop
|
||||
|
||||
Reference in New Issue
Block a user