1
0
Fork 0
mirror of synced 2025-04-20 01:21:01 +00:00

update Makefile

This commit is contained in:
Akolzin Dmitry 2020-03-23 15:37:23 +03:00
parent 6713bc9245
commit 0636e9da95
2 changed files with 3 additions and 1 deletions

View file

@ -66,5 +66,5 @@ jobs:
skip_cleanup: true
on:
condition: "$LAST_TAG != $CURRENT_VERSION"
if: branch = master AND type = push AND fork = false
if: branch = master AND type = push
after_deploy: make cleanup

View file

@ -41,7 +41,9 @@ create_db:
mysqladmin create $(DB_BITRIX_NAME) --user=$(DB_BITRIX_LOGIN) --password=$(DB_BITRIX_PASS)
build_release: build_release_dir
ifneq ($(LAST_TAG), $(CURRENT_VERSION))
bash bin/build $(VERSION) $(ROOT_DIR)/release/
endif
build_release_dir: build_diff_file
php bin/build-release