This is an automated email from the ASF dual-hosted git repository. myrle pushed a commit to branch develop in repository https://gitbox.apache.org/repos/asf/fineract-cn-demo-server.git
commit 60f81b3a80e0d0dc8ab34fbcd20b79ca2c8b0bfd Author: Robin Richtsfeld <robin.richtsf...@gmail.com> AuthorDate: Tue Dec 5 19:18:59 2017 +0100 Refactor pull-all.sh Script --- scripts/Unix/pull-all.sh | 296 +++++------------------------------------------ 1 file changed, 28 insertions(+), 268 deletions(-) diff --git a/scripts/Unix/pull-all.sh b/scripts/Unix/pull-all.sh old mode 100644 new mode 100755 index e28fc17..4becf82 --- a/scripts/Unix/pull-all.sh +++ b/scripts/Unix/pull-all.sh @@ -1,281 +1,41 @@ #!/bin/bash githubAccount=$1 +get_modules() { + for module in "$@"; do + ( + cd "$module" + git checkout develop + git pull upstream develop + chmod +x gradlew + ./gradlew publishToMavenLocal + git push origin develop + ) + done +} + +( cd core +get_modules lang async cassandra mariadb data-jpa 'command' api 'test' +) -# REM pull lang -cd lang -git checkout develop -git pull upstream develop -chmod +x gradlew -./gradlew publishToMavenLocal -git push origin develop - -cd .. - -# REM pull async -cd async -git checkout develop -git pull upstream develop -chmod +x gradlew -./gradlew publishToMavenLocal -git push origin develop -cd .. - -# REM pull cassandra -cd cassandra -git checkout develop -git pull upstream develop -chmod +x gradlew -./gradlew publishToMavenLocal -git push origin develop -cd .. - -# REM pull mariadb -cd mariadb -git checkout develop -git pull upstream develop -chmod +x gradlew -./gradlew publishToMavenLocal -git push origin develop -cd .. - -# REM pull data-jpa -cd data-jpa -git checkout develop -git pull upstream develop -chmod +x gradlew -./gradlew publishToMavenLocal -git push origin develop -cd .. - -# REM pull command -cd command -git checkout develop -git pull upstream develop -chmod +x gradlew -./gradlew publishToMavenLocal -git push origin develop -cd .. - -# REM pull api -cd api -git checkout develop -git pull upstream develop -chmod +x gradlew -./gradlew publishToMavenLocal -git push origin develop -cd .. - -# REM pull test -cd test -git checkout develop -git pull upstream develop -chmod +x gradlew -./gradlew publishToMavenLocal -git push origin develop -cd .. - -cd .. - +( cd tools +get_modules crypto +) -# REM pull crypto -cd crypto -git checkout develop -git pull upstream develop -chmod +x gradlew -./gradlew publishToMavenLocal -git push origin develop -cd .. - -cd .. - -# REM pull anubis -cd anubis -git checkout develop -git pull upstream develop -chmod +x gradlew -./gradlew publishToMavenLocal -git push origin develop -cd .. - -# REM pull permitted-feign-client -cd permitted-feign-client -git checkout develop -git pull upstream develop -chmod +x gradlew -./gradlew publishToMavenLocal -git push origin develop -cd .. - -# REM pull provisioner -cd provisioner -git checkout develop -git pull upstream develop -chmod +x gradlew -./gradlew publishToMavenLocal -git push origin develop -cd .. - -# REM pull identity -cd identity -git checkout develop -git pull upstream develop -chmod +x gradlew -./gradlew publishToMavenLocal -git push origin develop -cd .. - -# REM pull rhythm -cd rhythm -git checkout develop -git pull upstream develop -chmod +x gradlew -./gradlew publishToMavenLocal -git push origin develop -cd .. - -# REM pull template -cd template -git checkout develop -git pull upstream develop -chmod +x gradlew -./gradlew publishToMavenLocal -git push origin develop -cd .. - -# REM pull office -cd office -git checkout develop -git pull upstream develop -chmod +x gradlew -./gradlew publishToMavenLocal -git push origin develop -cd .. - -# REM pull customer -cd customer -git checkout develop -git pull upstream develop -chmod +x gradlew -./gradlew publishToMavenLocal -git push origin develop -cd .. - -# REM pull group -cd group -git checkout develop -git pull upstream develop -chmod +x gradlew -./gradlew publishToMavenLocal -git push origin develop -cd .. - -# REM pull accounting -cd accounting -git checkout develop -git pull upstream develop -chmod +x gradlew -./gradlew publishToMavenLocal -git push origin develop -cd .. - -# REM pull portfolio -cd portfolio -git checkout develop -git pull upstream develop -chmod +x gradlew -./gradlew publishToMavenLocal -git push origin develop -cd .. - -# REM pull deposit-account-management -cd deposit-account-management -git checkout develop -git pull upstream develop -chmod +x gradlew -./gradlew publishToMavenLocal -git push origin develop -cd .. - -# REM pull teller -cd teller -git checkout develop -git pull upstream develop -chmod +x gradlew -./gradlew publishToMavenLocal -git push origin develop -cd .. - -# REM pull reporting -cd reporting -git checkout develop -git pull upstream develop -chmod +x gradlew -./gradlew publishToMavenLocal -git push origin develop -cd .. - -# REM pull payroll -cd payroll -git checkout develop -git pull upstream develop -chmod +x gradlew -./gradlew publishToMavenLocal -git push origin develop -cd .. +get_modules anubis permitted-feign-client provisioner identity rhythm template \ + office customer group accounting portfolio deposit-account-management teller \ + reporting payroll +( cd integration-tests - -# REM pull service-starter -cd service-starter -git checkout develop -git pull upstream develop -chmod +x gradlew -./gradlew publishToMavenLocal -git push origin develop -cd .. - -# REM pull default-setup -cd default-setup -git checkout develop -git pull upstream develop -chmod +x gradlew -./gradlew publishToMavenLocal -git push origin develop -cd .. - -# REM pull demo-server -cd demo-server -git checkout develop -git pull upstream develop -chmod +x gradlew -./gradlew publishToMavenLocal -git push origin develop -cd .. - -# REM pull test-provisioner-identity-organization -cd test-provisioner-identity-organization -git checkout develop -git pull upstream develop -chmod +x gradlew -./gradlew publishToMavenLocal -git push origin develop -cd .. - -# REM pull test-accounting-portfolio -cd test-accounting-portfolio -git checkout develop -git pull upstream develop -chmod +x gradlew -./gradlew publishToMavenLocal -git push origin develop -cd .. - -cd .. +get_modules service-starter default-setup demo-server \ + test-provisioner-identity-organization test-accounting-portfolio +) # REM pull Web App +( cd fims-web-app git checkout develop git checkout -- src/main.ts @@ -284,4 +44,4 @@ git pull upstream develop sudo rm -rf node_modules npm i git push origin develop -cd .. +) -- To stop receiving notification emails like this one, please contact my...@apache.org.