This is an automated email from the ASF dual-hosted git repository. burcham pushed a commit to branch develop in repository https://gitbox.apache.org/repos/asf/geode.git
commit 52018fcf1da513c888092775295a121992abcec2 Author: Bill Burcham <bill.burc...@gmail.com> AuthorDate: Tue Aug 11 13:38:34 2020 -0700 GEODE-8337: fix support branch creation script to mod KnownVersion.java --- dev-tools/release/create_support_branches.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dev-tools/release/create_support_branches.sh b/dev-tools/release/create_support_branches.sh index 95ba74c..19e59f7 100755 --- a/dev-tools/release/create_support_branches.sh +++ b/dev-tools/release/create_support_branches.sh @@ -165,7 +165,8 @@ sed -e "s/^version =.*/version = ${NEWVERSION}-build.0/" -i.bak gradle.propertie # initial_version: 1.13.0-((stuff)).0 sed -e "s/^ initial_version:[^-]*\(-[^.0-9]*\)[.0-9]*/ initial_version: ${NEWVERSION}\1.0/" -i.bak ./ci/pipelines/shared/jinja.variables.yml -VER=geode-serialization/src/main/java/org/apache/geode/internal/serialization/Version.java +VER=geode-serialization/src/main/java/org/apache/geode/internal/serialization/KnownVersion.java +[ -r $VER ] || VER=geode-serialization/src/main/java/org/apache/geode/internal/serialization/Version.java #add the new ordinal and Version constants and set them as current&highest CURORD=$(cat $VER | awk '/private static final short GEODE_.*_ORDINAL/{print $NF}' | tr -d ';' | sort -n | tail -1) NEWORD=$(( CURORD + 5 ))