Skip to content

Commit

Permalink
Fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Jan 9, 2025
1 parent 444580f commit cbf8eec
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
12 changes: 6 additions & 6 deletions dev/release/bump_version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@ cd "${SOURCE_TOP_DIR}"
git switch -c bump-version-${version}
mvn versions:set -DnewVersion=${version} -DprocessAllModules -DgenerateBackupPoms=false
case "${version}" in
*-SNAPSHOT)
tag=main
;;
*)
tag=v${version}
;;
*-SNAPSHOT)
tag=main
;;
*)
tag=v${version}
;;
esac
mvn versions:set-scm-tag -DnewTag=${tag} -DgenerateBackupPoms=false -pl :arrow-java-root
mvn versions:set-scm-tag -DnewTag=${tag} -DgenerateBackupPoms=false -pl :arrow-bom
Expand Down
10 changes: 5 additions & 5 deletions dev/release/release_rc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,11 @@ version=$(grep -o '^ <version>.*</version>' "pom.xml" |
-e 's,</version>$,,')

case "${version}" in
*-SNAPSHOT)
echo "Version isn't bumped: ${version}"
echo "Run dev/release/bump_version.sh before you run this script."
exit 1
;;
*-SNAPSHOT)
echo "Version isn't bumped: ${version}"
echo "Run dev/release/bump_version.sh before you run this script."
exit 1
;;
esac

rc_tag="v${version}-rc${rc}"
Expand Down

0 comments on commit cbf8eec

Please sign in to comment.