Skip to content

Commit

Permalink
chore(app-shell-odd): push: proper deps ordering (#16968)
Browse files Browse the repository at this point in the history
Make does recipe dependences left to right. This fixes an issue where
pushes would push a stale frontend.
  • Loading branch information
sfoster1 authored Nov 25, 2024
1 parent 11f473e commit b6e29e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app-shell-odd/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ dist-ot3: clean lib
NO_USB_DETECTION=true OT_APP_DEPLOY_BUCKET=opentrons-app OT_APP_DEPLOY_FOLDER=builds OPENTRONS_PROJECT=$(OPENTRONS_PROJECT) $(builder) --linux --arm64

.PHONY: push-ot3
push-ot3: dist-ot3 deps
push-ot3: deps dist-ot3
tar -zcvf opentrons-robot-app.tar.gz -C ./dist/linux-arm64-unpacked/ ./
scp $(if $(ssh_key),-i $(ssh_key)) $(ssh_opts) -r ./opentrons-robot-app.tar.gz root@$(host):
ssh $(if $(ssh_key),-i $(ssh_key)) $(ssh_opts) root@$(host) "mount -o remount,rw / && systemctl stop opentrons-robot-app && rm -rf /opt/opentrons-app && mkdir -p /opt/opentrons-app"
Expand Down

0 comments on commit b6e29e9

Please sign in to comment.