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

fix deployment

This commit is contained in:
Akolzin Dmitry 2020-03-17 16:06:06 +03:00
parent 8cc5d19e5a
commit c8d653b994
2 changed files with 3 additions and 4 deletions

View file

@ -62,10 +62,9 @@ jobs:
before_install: skip
env: BITRIX_EDITION=business_encode
- stage: deploy
before_script: skip
before_script: export VERSION=`php bin/bitrix-version`
script: make build_release
before_deploy:
- export VERSION=`php bin/bitrix-version`
- export ARCHIVE_NAME=$TRAVIS_BUILD_DIR/release/$VERSION.tar.gz
- git config --local user.name "retailCRM"
- git config --local user.email "support@retailcrm.ru"
@ -79,4 +78,4 @@ jobs:
on:
condition: "$LAST_TAG != $CURRENT_VERSION"
if: branch = master AND type = push
after_deploy: make cleanup
after_success: make cleanup

View file

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