Skip to content

Commit 3ebc93c

Browse files
committed
refine release notes
1 parent 738fe38 commit 3ebc93c

File tree

1 file changed

+11
-48
lines changed

1 file changed

+11
-48
lines changed

dev/release/README.md

Lines changed: 11 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ Using a string such as `v0.52.0` as the `<version>`, create and push the tag by
9292

9393
```shell
9494
git fetch apache
95-
git tag <version>-<rc> apache/main
95+
git tag <version> apache/main
9696
# push tag to Github remote
9797
git push apache <version>
9898
```
@@ -102,7 +102,7 @@ git push apache <version>
102102
Run `create-tarball.sh` with the `<version>` tag and `<rc>` and you found in previous steps:
103103

104104
```shell
105-
GH_TOKEN=<TOKEN> ./dev/release/create-tarball.sh 38.0.0 0
105+
GH_TOKEN=<TOKEN> ./dev/release/create-tarball.sh 0.52.0 1
106106
```
107107

108108
The `create-tarball.sh` script
@@ -125,7 +125,7 @@ For the release to become "official" it needs at least three PMC members to vote
125125
The `dev/release/verify-release-candidate.sh` is a script in this repository that can assist in the verification process. Run it like:
126126

127127
```shell
128-
./dev/release/verify-release-candidate.sh 38.0.0 0
128+
./dev/release/verify-release-candidate.sh 0.52.0 1
129129
```
130130

131131
#### If the release is not approved
@@ -139,78 +139,41 @@ NOTE: steps in this section can only be done by PMC members.
139139

140140
### After the release is approved
141141

142-
Move artifacts to the release location in SVN, e.g.
143-
https://dist.apache.org/repos/dist/release/datafusion/datafusion-38.0.0/, using
144-
the `release-tarball.sh` script:
142+
Move artifacts to the release location in SVN, using the `release-tarball.sh` script:
145143

146144
```shell
147-
./dev/release/release-tarball.sh 38.0.0 0
145+
./dev/release/release-tarball.sh 0.52.0 1
148146
```
149147

150148
Congratulations! The release is now official!
151149

152-
### Create release git tags
153-
154-
Tag the same release candidate commit with the final release tag
155-
156-
```shell
157-
git co apache/38.0.0-rc0
158-
git tag 38.0.0
159-
git push apache 38.0.0
160-
```
161-
162150
### Publish on Crates.io
163151

164152
Only approved releases of the tarball should be published to
165153
crates.io, in order to conform to Apache Software Foundation
166154
governance standards.
167155

168-
An Arrow committer can publish this crate after an official project release has
156+
A DataFusion committer can publish this crate after an official project release has
169157
been made to crates.io using the following instructions.
170158

171159
Follow [these
172160
instructions](https://doc.rust-lang.org/cargo/reference/publishing.html) to
173161
create an account and login to crates.io before asking to be added as an owner
174-
to all of the DataFusion crates.
162+
to the sqlparser DataFusion crates.
175163

176164
Download and unpack the official release tarball
177165

178166
Verify that the Cargo.toml in the tarball contains the correct version
179-
(e.g. `version = "38.0.0"`) and then publish the crates by running the following commands
167+
(e.g. `version = "0.52.0"`) and then publish the crates by running the following commands
180168

181169
```shell
182-
(cd datafusion/common && cargo publish)
183-
(cd datafusion/expr-common && cargo publish)
184-
(cd datafusion/physical-expr-common && cargo publish)
185-
(cd datafusion/functions-aggregate-common && cargo publish)
186-
(cd datafusion/expr && cargo publish)
187-
(cd datafusion/execution && cargo publish)
188-
(cd datafusion/physical-expr && cargo publish)
189-
(cd datafusion/functions && cargo publish)
190-
(cd datafusion/functions-aggregate && cargo publish)
191-
(cd datafusion/functions-window && cargo publish)
192-
(cd datafusion/functions-nested && cargo publish)
193-
(cd datafusion/sql && cargo publish)
194-
(cd datafusion/optimizer && cargo publish)
195-
(cd datafusion/common-runtime && cargo publish)
196-
(cd datafusion/physical-plan && cargo publish)
197-
(cd datafusion/physical-optimizer && cargo publish)
198-
(cd datafusion/catalog && cargo publish)
199-
(cd datafusion/core && cargo publish)
200-
(cd datafusion/proto-common && cargo publish)
201-
(cd datafusion/proto && cargo publish)
202-
(cd datafusion/substrait && cargo publish)
170+
(cd sqlparser && cargo publish)
203171
```
204172

205-
206-
207-
## `sqlparser_derive` crate
208-
209-
Currently this crate is manually published via `cargo publish`.
173+
If necessary, also publish the `sqlparser_derive` crate:
210174

211175
crates.io homepage: https://crates.io/crates/sqlparser_derive
212176

213177
```shell
214-
cd derive
215-
cargo publish
178+
(cd derive && cargo publish
216179
```

0 commit comments

Comments
 (0)