diff --git a/bin/update-gilt-sbt-build.sh b/bin/update-gilt-sbt-build.sh index 00646f3..4b491d3 100755 --- a/bin/update-gilt-sbt-build.sh +++ b/bin/update-gilt-sbt-build.sh @@ -1,14 +1,14 @@ #!/bin/bash -VERSION="6.4.0" +VERSION="6.6.0" while read -r LINE || [[ -n $LINE ]]; do printf "%s\n" "${LINE}" cd "/web/${LINE}" git checkout master git pull - git checkout -b "upgrade-to-g-s-b-$VERSION" + git checkout -b "upgrade-g-s-b-to-$VERSION" sed -i "" -E 's/addSbtPlugin\("com.giltgroupe"[[:space:]]+%[[:space:]]+"gilt-sbt-build"[[:space:]]+%[[:space:]]+"[[:digit:]]+.[[:digit:]]+.[[:digit:]]+"\)/addSbtPlugin("com.giltgroupe" % "gilt-sbt-build" % "'"$VERSION"'")/g' project/build.sbt - git commit -a -m "NOJIRA-0: Upgrade gilt-sbt-build tp $VERSION" + git commit -m "NOJIRA-0: Upgrade gilt-sbt-build to $VERSION" project/build.sbt git push origin HEAD:refs/for/master done < projects.txt diff --git a/bin/update-sbt.sh b/bin/update-sbt.sh new file mode 100755 index 0000000..fcffaa7 --- /dev/null +++ b/bin/update-sbt.sh @@ -0,0 +1,14 @@ +#!/bin/bash + +VERSION="0.13.8" + +while read -r LINE || [[ -n $LINE ]]; do + printf "%s\n" "${LINE}" + cd "/web/${LINE}" + git checkout master + git pull + git checkout -b "upgrade-sbt-to-$VERSION" + sed -i "" -E 's/sbt.version[[:space:]]*=[[:space:]]*[[:digit:]]+.[[:digit:]]+.[[:digit:]]+/sbt.version='"$VERSION"'/g' project/*.properties + git commit -m "NOJIRA-0: Upgrade sbt to $VERSION" project/*.properties + git push origin HEAD:refs/for/master +done < projects.txt diff --git a/projects.txt b/projects.txt index f15651d..9e9d794 100644 --- a/projects.txt +++ b/projects.txt @@ -1,3 +1,18 @@ +account_service +admin-invoice-detail +admin-region +admin-shipping-calculator +commons-5-to-6-conversion +lib-alipay +lib-masterpass +lib-vertexinc-taxlookup +order_service +payment_service +payment_service-client +svc-alipay +svc-invoice-detail +svc-metrics-by-query svc-payment-manager svc-region -svc-shipping-calculator \ No newline at end of file +svc-shipping-calculator +web-checkout-legacy \ No newline at end of file