Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dev/release/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ $ GH_TOKEN=${YOUR_GITHUB_TOKEN} dev/release/bump_version.sh ${NEW_VERSION}-SNAPS
Here is an example to bump version to 19.0.1-SNAPSHOT:

```
$ GH_TOKEN=${YOUR_GITHUB_TOKEN} dev/release/bump_version.sh 19.0.0-SNAPSHOT
$ GH_TOKEN=${YOUR_GITHUB_TOKEN} dev/release/bump_version.sh 19.0.1-SNAPSHOT
```

It creates a feature branch and adds a commit that bumps version. This
Expand Down
3 changes: 3 additions & 0 deletions dev/release/bump_version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ mvn versions:set-scm-tag "-DnewTag=${tag}" -DgenerateBackupPoms=false -pl :arrow
mvn versions:set-scm-tag "-DnewTag=${tag}" -DgenerateBackupPoms=false -pl :arrow-bom
git add "pom.xml"
git add "**/pom.xml"
sed -i.bak -e "s/^release = '.*'/release = '${version}'/" docs/source/conf.py
rm docs/source/conf.py.bak
git add docs/source/conf.py
git commit -m "MINOR: Bump version to ${version}"
git push --set-upstream origin "${branch}"
gh pr create --fill --repo apache/arrow-java
Loading