Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Paste
P11129
parent-upgrade.sh
Active
Public
Actions
Authored by
Gehel
on May 4 2020, 7:25 PM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
None
Referenced Files
F31802469: raw.txt
May 4 2020, 7:25 PM
2020-05-04 19:25:23 (UTC+0)
Subscribers
None
#!/bin/bash
version
=
$1
projects
=
"extra extra-analysis glent highlighter ../query/rdf"
for
project in
$projects
;
do
pushd
$project
git checkout master
git pull --rebase
git fetch --all
git submodule update
git status
./mvnw versions:update-parent -DparentVersion
=
$version
rm pom.xml.versionsBackup
git add pom.xml
git commit -m
"upgrading to latest parent pom (
$version
)"
git review -R
popd
done
Event Timeline
Gehel
created this paste.
May 4 2020, 7:25 PM
2020-05-04 19:25:23 (UTC+0)
Log In to Comment