This commit is contained in:
8
Makefile
8
Makefile
@@ -95,10 +95,12 @@ ci-export:
|
||||
ci-upload:
|
||||
@VERSION=$$(cat $(VERSION_FILE)); \
|
||||
echo "==> Uploading artifacts for version $$VERSION"; \
|
||||
echo "SCP Target Path: $(DROPAREA_TARGET_PATH)/"; \
|
||||
echo "Files to upload:"; \
|
||||
ls -lh $(PROJECT)-$$VERSION.* $(PROJECT).tic $(PROJECT).html.zip 2>/dev/null || true; \
|
||||
sshpass -p "$(DROPAREA_SSH_PASSWORD)" scp -o StrictHostKeyChecking=no -P $(DROPAREA_PORT) $(PROJECT)-$$VERSION.tic $(PROJECT)-$$VERSION.html.zip $(DROPAREA_USER)@$(DROPAREA_HOST):$(DROPAREA_TARGET_PATH)/; \
|
||||
FILE_LUA=$(PROJECT)-$$VERSION.lua; \
|
||||
FILE_TIC=$(PROJECT)-$$VERSION.tic; \
|
||||
FILE_HTML_ZIP=$(PROJECT)-$$VERSION.html.zip; \
|
||||
SCP_TARGET="$(DROPAREA_USER)@$(DROPAREA_HOST):$(DROPAREA_TARGET_PATH)/"; \
|
||||
sshpass -p "$(DROPAREA_SSH_PASSWORD)" scp -o StrictHostKeyChecking=no -P $(DROPAREA_PORT) $$FILE_LUA $$FILE_TIC $$FILE_HTML_ZIP $$SCP_TARGET
|
||||
|
||||
ci-update:
|
||||
@VERSION=$$(cat $(VERSION_FILE)); \
|
||||
|
||||
Reference in New Issue
Block a user