update Makefile
This commit is contained in:
parent
6713bc9245
commit
0636e9da95
2 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
2
Makefile
2
Makefile
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue