Skip to content

Commit

Permalink
Fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Jan 9, 2025
1 parent d012e49 commit 3583ec5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions dev/release/bump_version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ version=$1

cd "${SOURCE_TOP_DIR}"

git switch -c bump-version-${version}
mvn versions:set -DnewVersion=${version} -DprocessAllModules -DgenerateBackupPoms=false
git switch -c "bump-version-${version}"
mvn versions:set "-DnewVersion=${version}" -DprocessAllModules -DgenerateBackupPoms=false
case "${version}" in
*-SNAPSHOT)
tag=main
Expand All @@ -43,8 +43,8 @@ case "${version}" in
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
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
git add "pom.xml"
git add "**/pom.xml"
git commit -m "MINOR: Bump version to ${version}"
Expand Down
4 changes: 2 additions & 2 deletions dev/release/verify_rc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ ensure_source_directory() {
}

test_source_distribution() {
if [ ${VERIFY_SOURCE} -le 0 ]; then
if [ "${VERIFY_SOURCE}" -le 0 ]; then
return 0
fi

Expand All @@ -135,7 +135,7 @@ test_source_distribution() {
}

test_binary_distribution() {
if [ ${VERIFY_SOURCE} -le 0 ]; then
if [ "${VERIFY_BINARY}" -le 0 ]; then
return 0
fi

Expand Down

0 comments on commit 3583ec5

Please sign in to comment.