Skip to content

Commit

Permalink
apacheGH-611: Update docs version in release process
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Feb 13, 2025
1 parent 34e2b08 commit c946837
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
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

0 comments on commit c946837

Please sign in to comment.