Skip to content

Commit

Permalink
chore: fix script
Browse files Browse the repository at this point in the history
  • Loading branch information
jiro4989 committed Jan 25, 2022
1 parent e9dfff7 commit 44567b2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion script/update_jdk_version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@ set -eu
java_version=$1

sed -i -E \
-e "/(source|target)Compatibility/s/[0-9]+/${java_version}/g" \
-e "/\* Java /s/[0-9]+/${java_version}/g" \
README.adoc

sed -i -E \
-e "/(source|target)Compatibility/s/[1-9]+/${java_version}/g" \
-e "/jvmTarget/s/[0-9]+/${java_version}/g" \
build.gradle

Expand Down

0 comments on commit 44567b2

Please sign in to comment.