File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -251,10 +251,16 @@ endif
251251fetch_supermq :
252252 @git subtree add --prefix=$(SUPERMQ_SUBTREE_DIR ) $(SUPERMQ_REMOTE_PATH ) main --squash
253253 @find $(SUPERMQ_SUBTREE_DIR ) -mindepth 1 ! -path ' supermq/docker*' -exec rm -rf {} +
254+ @git add $(SUPERMQ_SUBTREE_DIR )
255+ @git commit --amend --no-edit
254256
255257update_supermq :
256258 @git subtree pull --prefix=$(SUPERMQ_SUBTREE_DIR ) $(SUPERMQ_REMOTE_PATH ) main --squash
257259 @find $(SUPERMQ_SUBTREE_DIR ) -mindepth 1 ! -path ' supermq/docker*' -exec rm -rf {} +
260+ @git add $(SUPERMQ_SUBTREE_DIR )
261+ @if ! git diff --cached --quiet; then \
262+ git commit --amend --no-edit; \
263+ fi
258264
259265run : check_certs
260266 docker compose -f docker/docker-compose.yml --env-file docker/.env -p $(DOCKER_PROJECT ) $(DOCKER_COMPOSE_COMMAND ) $(args )
You can’t perform that action at this time.
0 commit comments