1
0
mirror of synced 2024-11-29 00:25:30 +03:00
magento-module/Makefile

15 lines
345 B
Makefile
Raw Permalink Normal View History

2018-05-15 15:54:55 +03:00
FILE = $(TRAVIS_BUILD_DIR)/VERSION
VERSION = `cat $(FILE)`
ARCHIVE_NAME = '/tmp/retailcrm-retailcrm-'$(VERSION)'.zip'
all: build_archive send_to_ftp delete_archive
build_archive:
cd src; zip -r $(ARCHIVE_NAME) ./*
send_to_ftp:
2018-06-14 12:11:29 +03:00
curl -T $(ARCHIVE_NAME) -u $(FTP_USER):$(FTP_PASSWORD) ftp://$(FTP_HOST)
2018-05-15 15:54:55 +03:00
delete_archive:
rm -f $(ARCHIVE_NAME)