Skip to content

Commit f0b170d

Browse files
committed
Fmt
1 parent 5b214e1 commit f0b170d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Makefile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,8 @@ preview:
5757
$(REMOTE_CMD) "cd $(RELEASES_DIR) && ln -snf $(TIMESTAMP) current"
5858
@echo "\n\n**** Preview complete.\n\n"
5959
@echo "Open the preview site at: $(PREVIEW_SITE_URL)\n\n"
60-
6160
@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'
61+
$(REMOTE_CMD) 'cd $(RELEASES_DIR) && ls -1dt */ | grep -v "^current/?$$" | grep -v "^$(TIMESTAMP)/$$" | tail -n +4 | xargs -r echo rm -rf'
6462

6563

6664
ifeq ($(FORCE_DEPLOY), true)

0 commit comments

Comments
 (0)