Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions bin/update-gilt-sbt-build.sh
Original file line number Diff line number Diff line change
@@ -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
14 changes: 14 additions & 0 deletions bin/update-sbt.sh
Original file line number Diff line number Diff line change
@@ -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
17 changes: 16 additions & 1 deletion projects.txt
Original file line number Diff line number Diff line change
@@ -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
svc-shipping-calculator
web-checkout-legacy