1
0
mirror of synced 2024-11-23 05:46:09 +03:00

Update deployment (#97)

* fix deploy stage
This commit is contained in:
Akolzin Dmitry 2020-03-24 11:36:32 +03:00 committed by GitHub
parent 6713bc9245
commit d14a078804
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 9 deletions

View File

@ -40,14 +40,14 @@ create_db:
echo "USE mysql;\nUPDATE user SET password=PASSWORD('root') WHERE user='root';\nFLUSH PRIVILEGES;\n" | mysql -u root
mysqladmin create $(DB_BITRIX_NAME) --user=$(DB_BITRIX_LOGIN) --password=$(DB_BITRIX_PASS)
build_release: build_release_dir
bash bin/build $(VERSION) $(ROOT_DIR)/release/
build_release_dir: build_diff_file
php bin/build-release
build_diff_file:
build_release:
ifneq ($(LAST_TAG),$(CURRENT_VERSION))
git diff --name-status $(LAST_TAG) HEAD > $(ROOT_DIR)/release/diff
php bin/build-release
bash bin/build $(VERSION) $(ROOT_DIR)/release/
else
@exit 0
endif
cleanup:
@rm -rf $(ROOT_DIR)/release/$(VERSION)

View File

@ -11,7 +11,7 @@
stopOnFailure="false"
>
<testsuites>
<testsuite name="Retailcrm Bitrix module Test Suite">
<testsuite name="retailcrm Bitrix module Test Suite">
<directory suffix="Test.php">tests</directory>
</testsuite>
</testsuites>