Project.tomlRun dev/release/release_rc.sh on working copy of git@github.com:apache/arrow-julia not your fork:
$ git clone git@github.com:apache/arrow-julia.git $ dev/release/release_rc.sh ${RC} (Send a vote email to dev@arrow.apache.org. You can use a draft shown by release_rc.sh for the email.)
Here is an example to release RC1:
$ dev/release/release_rc.sh 1
The argument of release_rc.sh is the RC number. If RC1 has a problem, we'll increment the RC number such as RC2, RC3 and so on.
Keep the vote open for at least 72 hours. A release requires at least three binding +1 votes from PMC members and more binding positive votes than binding negative votes. See the ASF voting rules and the Arrow release guide.
Requirements to run release_rc.sh:
If you don't have a PGP key, https://infra.apache.org/release-signing.html#generate may be helpful.
Your PGP key must be registered to the followings:
See the header comment of them how to add a PGP key.
Apache arrow committers can update them by Subversion client with their ASF account. e.g.:
$ svn co https://dist.apache.org/repos/dist/dev/arrow $ cd arrow $ editor KEYS $ svn ci KEYS
We need to do the followings to publish a new release:
Run dev/release/release.sh to publish to apache.org:
$ dev/release/release.sh ${VERSION} ${RC}
Here is an example to release 2.2.1 RC1:
$ dev/release/release.sh 2.2.1 1
Add the release to ASF's report database via Apache Committee Report Helper.
To publish the release to the Julia General registry, navigate to the GitHub commit where the project version was incremented in the Project.toml file (step 2 above), then post a comment on the commit with the following:
@JuliaRegistrator register
JuliaRegistrator will respond saying it has opened a pull request to the General registry and under normal circumstances, will be merged automatically.
If ArrowTypes is also registered, we also need to post a comment on the commit with the following:
@JuliaRegistrator register subdir=src/ArrowTypes
To register or release ArrowStrings, post the following comment on the commit that contains its version in src/ArrowStrings/Project.toml:
@JuliaRegistrator register subdir=src/ArrowStrings
ArrowStrings must be registered and released before an Arrow.jl release that depends on it can be registered.
We have a script to verify a RC.
You must install the following commands to use the script:
curlgpgshasum or sha256sum/sha512sumtarYou don‘t need to install Julia. If there isn’t Julia in system, the latest Julia is automatically installed only for verification.
To verify a RC, run the following command line:
$ dev/release/verify_rc.sh ${VERSION} ${RC}
Here is an example to release 2.2.1 RC1:
$ dev/release/verify_rc.sh 2.2.1 1
If the verification is succeeded, RC looks good! is shown.