This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# У нас есть релизная ветка с названием «release/x.y.z» | |
# В качестве параметра скрипту надо указать «x.y.z» | |
if [[ "$1" == "" ]]; then | |
read -p "Enter release to merge: " release | |
else | |
release="$1" | |
fi | |
branch="release/$release" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Which parts of install script should be run. Possible values are: | |
# requirements, php-version, php-extensions, php-ini, composer, db, sphinx, directories, symlinks, migrations, assets. | |
# Any other values will be ignored. | |
config=(requirements php-version php-extensions php-ini composer db sphinx directories symlinks migrations assets) | |
# These extensions should be installed in the system. | |
req_command=( | |
mysql |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
source config.sh | |
function error { | |
echo -e "\033[0;31m$1\033[0m" | |
} | |
function info { | |
echo -e "\033[0;36m$1\033[0m" | |
} |