You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Which issue does this PR close?
<!--
We generally require a GitHub issue to be filed for all bug fixes and
enhancements and this helps us generate change logs for our releases.
You can link an issue to this PR using the GitHub syntax. For example
`Closes#123` indicates that this PR will close issue #123.
-->
- Related to #21635.
## Rationale for this change
Upon releasing 53.0.0 and 53.1.0 I found some steps not clear or
misleading, I tried to clarify steps based on most recent experience
<!--
Why are you proposing this change? If this is already explained clearly
in the issue then this section is not needed.
Explaining clearly why changes are proposed helps reviewers understand
your changes and offer better suggestions for fixes.
-->
## What changes are included in this PR?
<!--
There is no need to duplicate the description in the issue here but it
is sometimes worth providing a summary of the individual changes in this
PR.
-->
## Are these changes tested?
<!--
We typically require tests for all PRs in order to:
1. Prevent the code from being accidentally broken by subsequent changes
2. Serve as another way to document the expected behavior of the code
If tests are not included in your PR, please explain why (for example,
are they covered by existing tests)?
-->
## Are there any user-facing changes?
<!--
If there are user-facing changes then we may require documentation to be
updated before approving the PR.
-->
<!--
If there are any breaking changes to public APIs, please add the `api
change` label.
-->
Then commit the changes and create a PR targeting the release branch.
169
180
170
181
```shell
171
-
git commit -a -m 'Update version'
182
+
git commit -a -m 'Update changelog'
172
183
```
173
184
174
-
Remember to merge any fixes back to the `main` branch as well.
175
-
176
-
### 4. Prepare Release Candidate Artifacts
185
+
### 6. Prepare Release Candidate Artifacts
177
186
178
-
After the PR gets merged, you are ready to create release artifacts based off the
187
+
After the changelog updates merged to `branch-N`, you are ready to create release artifacts based off the
179
188
merged commit.
180
189
181
190
- You must be a committer to run these scripts because they upload to the
@@ -191,47 +200,41 @@ Pick numbers in sequential order, with `1` for `rc1`, `2` for `rc2`, etc.
191
200
192
201
While the official release artifacts are signed tarballs and zip files, we also
193
202
tag the commit it was created from for convenience and code archaeology. Release tags
194
-
look like `38.0.0`, and release candidate tags look like `38.0.0-rc0`. See [the list of existing
203
+
look like `50.3.0`, and release candidate tags look like `50.3.0-rc1`. See [the list of existing
195
204
tags].
196
205
197
206
[the list of existing tags]: https://github.com/apache/datafusion/tags
198
207
199
-
Create and push the RC tag:
200
-
201
-
```shell
202
-
git fetch apache
203
-
git tag <version>-rc<rc> apache/branch-X
204
-
git push apache <version>-rc<rc>
205
-
```
206
-
207
-
For example, to create the `50.3.0-rc1` tag from `branch-50`, use:
208
+
Create and push the RC tag, for example, to create the `50.3.0-rc1` tag from `branch-50`, use:
208
209
209
210
```shell
210
211
git fetch apache
211
212
git tag 50.3.0-rc1 apache/branch-50
212
213
git push apache 50.3.0-rc1
213
214
```
214
215
216
+
Please make sure the format is correct, tools like Homebrew listens for tags and in case of malformed tags users would be notified for non-existent version
217
+
215
218
#### Create, Sign, and Upload Artifacts
216
219
217
220
Run the `create-tarball.sh` script with the `<version>` tag and `<rc>` number you determined in previous steps:
218
221
219
222
For example, to create the `50.3.0-rc1` artifacts:
0 commit comments