We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b214e1 commit f0b170dCopy full SHA for f0b170d
Makefile
@@ -57,10 +57,8 @@ preview:
57
$(REMOTE_CMD) "cd $(RELEASES_DIR) && ln -snf $(TIMESTAMP) current"
58
@echo "\n\n**** Preview complete.\n\n"
59
@echo "Open the preview site at: $(PREVIEW_SITE_URL)\n\n"
60
-
61
@echo "\n**** Cleaning up old releases (keep latest 3, skip 'current')...\n"
62
- $(REMOTE_CMD) 'cd $(RELEASES_DIR) && \
63
- ls -1dt */ | grep -v "^current/?$$" | grep -v "^$(TIMESTAMP)/$$" | tail -n +4 | xargs -r echo rm -rf'
+ $(REMOTE_CMD) 'cd $(RELEASES_DIR) && ls -1dt */ | grep -v "^current/?$$" | grep -v "^$(TIMESTAMP)/$$" | tail -n +4 | xargs -r echo rm -rf'
64
65
66
ifeq ($(FORCE_DEPLOY), true)
0 commit comments