mirror of
https://framagit.org/tykayn/date-poll-api
synced 2023-08-25 08:23:11 +02:00
clean local funky before update
This commit is contained in:
parent
5ed5c43801
commit
ecbe8fb41c
32
update.sh
32
update.sh
@ -1,14 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
echo "######################"
|
# script d'update de framadate api, fait pour fonctionner avec le sous module git funky framadate
|
||||||
echo " time to update the framadate setup"
|
|
||||||
echo "######################"
|
|
||||||
|
|
||||||
COMMAND_BUILD="build:prod:demobliss"
|
|
||||||
# git reset --hard
|
|
||||||
git pull origin master
|
|
||||||
|
|
||||||
composer install
|
|
||||||
php bin/console doctrine:schema:update --force
|
|
||||||
# bash colors
|
# bash colors
|
||||||
cecho() {
|
cecho() {
|
||||||
local code="\033["
|
local code="\033["
|
||||||
@ -27,6 +20,17 @@ cecho() {
|
|||||||
echo -e "$text"
|
echo -e "$text"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
cecho g "######################"
|
||||||
|
cecho g " time to update the framadate setup"
|
||||||
|
cecho g "######################"
|
||||||
|
|
||||||
|
COMMAND_BUILD="build:prod:demobliss"
|
||||||
|
# git reset --hard
|
||||||
|
git pull origin master
|
||||||
|
|
||||||
|
composer install
|
||||||
|
php bin/console doctrine:schema:update --force
|
||||||
|
|
||||||
cecho g "######################"
|
cecho g "######################"
|
||||||
cecho g " update the funky frontend submodule "
|
cecho g " update the funky frontend submodule "
|
||||||
cecho g "############################################"
|
cecho g "############################################"
|
||||||
@ -87,14 +91,18 @@ cd funky-framadate-front
|
|||||||
cecho g "######################"
|
cecho g "######################"
|
||||||
cecho g " debug info : version of programs"
|
cecho g " debug info : version of programs"
|
||||||
cecho g " "
|
cecho g " "
|
||||||
cecho g " git current branch "
|
cecho b " git current branch "
|
||||||
git show-branch
|
git show-branch
|
||||||
cecho g " node version "
|
cecho b " node version "
|
||||||
node -v
|
node -v
|
||||||
cecho g " yarn version "
|
cecho b " yarn version "
|
||||||
yarn -v
|
yarn -v
|
||||||
cecho g " "
|
cecho g " "
|
||||||
cecho g "######################"
|
cecho b "##############################################"
|
||||||
|
cecho b " update of the funky part, clean of local repo"
|
||||||
|
cecho g " "
|
||||||
|
git reset --hard
|
||||||
|
git remote -v
|
||||||
git fetch
|
git fetch
|
||||||
git pull
|
git pull
|
||||||
yarn
|
yarn
|
||||||
|
Loading…
Reference in New Issue
Block a user