File tree Expand file tree Collapse file tree 2 files changed +11
-11
lines changed
Expand file tree Collapse file tree 2 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -36,12 +36,12 @@ cd "${SOURCE_TOP_DIR}"
3636git switch -c bump-version-${version}
3737mvn versions:set -DnewVersion=${version} -DprocessAllModules -DgenerateBackupPoms=false
3838case " ${version} " in
39- * -SNAPSHOT)
40- tag=main
41- ;;
42- * )
43- tag=v${version}
44- ;;
39+ * -SNAPSHOT)
40+ tag=main
41+ ;;
42+ * )
43+ tag=v${version}
44+ ;;
4545esac
4646mvn versions:set-scm-tag -DnewTag=${tag} -DgenerateBackupPoms=false -pl :arrow-java-root
4747mvn versions:set-scm-tag -DnewTag=${tag} -DgenerateBackupPoms=false -pl :arrow-bom
Original file line number Diff line number Diff line change @@ -59,11 +59,11 @@ version=$(grep -o '^ <version>.*</version>' "pom.xml" |
5959 -e ' s,</version>$,,' )
6060
6161case " ${version} " in
62- * -SNAPSHOT)
63- echo " Version isn't bumped: ${version} "
64- echo " Run dev/release/bump_version.sh before you run this script."
65- exit 1
66- ;;
62+ * -SNAPSHOT)
63+ echo " Version isn't bumped: ${version} "
64+ echo " Run dev/release/bump_version.sh before you run this script."
65+ exit 1
66+ ;;
6767esac
6868
6969rc_tag=" v${version} -rc${rc} "
You can’t perform that action at this time.
0 commit comments