We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68cb6f9 commit a6e7effCopy full SHA for a6e7eff
dev/release/bump_version.sh
@@ -33,6 +33,17 @@ version=$1
33
34
cd "${SOURCE_TOP_DIR}"
35
36
+git_origin_url="$(git remote get-url origin)"
37
+case "${git_origin_url}" in
38
+*apache/arrow-java*)
39
+ echo "You must use your fork: ${git_origin_url}"
40
+ exit 1
41
+ ;;
42
+*)
43
+ : # OK
44
45
+esac
46
+
47
git switch -c "bump-version-${version}" main
48
mvn versions:set "-DnewVersion=${version}" -DprocessAllModules -DgenerateBackupPoms=false
49
case "${version}" in
@@ -48,4 +59,5 @@ mvn versions:set-scm-tag "-DnewTag=${tag}" -DgenerateBackupPoms=false -pl :arrow
59
git add "pom.xml"
60
git add "**/pom.xml"
50
61
git commit -m "MINOR: Bump version to ${version}"
62
+git push origin
51
63
gh pr create --fill --repo apache/arrow-java
0 commit comments