Skip to content
Closed
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
8 changes: 7 additions & 1 deletion dev/change-version-to-2.10.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,11 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#

# Note that this will not necessarily work as intended with non-GNU sed (e.g. OS X)

find . -name 'pom.xml' | grep -v target \
| xargs -I {} sed -i -e 's|\(artifactId.*\)_2.11|\1_2.10|g' {}
| xargs -I {} sed -i -e 's/\(artifactId.*\)_2.11/\1_2.10/g' {}

# Also update <scala.binary.version> in parent POM
sed -i -e '0,/<scala\.binary\.version>2.11</s//<scala.binary.version>2.10</' pom.xml
7 changes: 6 additions & 1 deletion dev/change-version-to-2.11.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,10 @@
# limitations under the License.
#

# Note that this will not necessarily work as intended with non-GNU sed (e.g. OS X)

find . -name 'pom.xml' | grep -v target \
| xargs -I {} sed -i -e 's|\(artifactId.*\)_2.10|\1_2.11|g' {}
| xargs -I {} sed -i -e 's/\(artifactId.*\)_2.10/\1_2.11/g' {}

# Also update <scala.binary.version> in parent POM
sed -i -e '0,/<scala\.binary\.version>2.10</s//<scala.binary.version>2.11</' pom.xml