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
After creating the release branch, you should bump the version of the main branch to the next version. This is important to ensure that the next development cycle starts with the correct version.
Besides, in the `main` branch, create a new "Upgrade Notes" markdown file for the next version. The file name should be `upgrade-notes-x.y.md` (replace the `x.y` to the next version number, e.g., `0.9`) under path `website/docs/maintenance/operations/` with following initial content.
179
183
180
184
```
@@ -193,6 +197,29 @@ Commit the documentation changes, and push to the official repository.
193
197
```bash
194
198
$ git commit -m "[docs] Create upgrade notes for $NEXT_SHORT_VERSION".
195
199
$ git push origin main
200
+
```
201
+
202
+
**(3) Add version item in fluss-versions.json**
203
+
204
+
Next, add a new version item for the current release version in the `website/fluss-versions.json` file on the `main` branch. The new version item should have the following fields and values (releasing `0.8.0` as an example):
205
+
206
+
```json
207
+
{
208
+
"versionName": "version-0.8",
209
+
"fullVersion": "0.8.0-incubating",
210
+
"shortVersion": "0.8",
211
+
"dockerVersion": "0.8.0-incubating-rc1",
212
+
"released": false
213
+
}
214
+
```
215
+
216
+
Additionally, update the `fullVersion`, `shortVersion`, and `dockerVersion` fields for the `next` version entry to reflect the next release version.
217
+
218
+
Commit the documentation changes, and push to the official repository.
219
+
220
+
```bash
221
+
$ git commit -m "[docs] Add version item for $RELEASE_VERSION in fluss-versions.json
222
+
$ git push origin main
196
223
```
197
224
</TabItem>
198
225
@@ -208,8 +235,27 @@ If you're creating a new bugfix release, you can skip this step.
208
235
209
236
Create a pull request for the release announcement blog for this version, see the [previous release blogs](https://fluss.apache.org/blog/tags/releases/).
210
237
238
+
We usually include the commit number and the names of all contributors in the announcement blog post. Use the following command to get the commit number and the list of contributors:
239
+
240
+
241
+
```bash
242
+
# first line is required to make sort first with uppercase and then lower
(7) Verify the files are present: https://dist.apache.org/repos/dist/dev/incubator/fluss/
362
419
363
420
364
-
### 6. Stage Docker images
421
+
### 6. Stage maven artifacts
422
+
423
+
424
+
Next, we stage the maven artifacts:
425
+
426
+
```bash
427
+
tools $ releasing/deploy_staging_jars.sh
428
+
```
429
+
430
+
Review all staged artifacts in the staging repositories(https://repository.apache.org/#stagingRepositories). They should contain all relevant parts for each module, including pom.xml, jar, test jar, source, test source, javadoc, etc. Carefully review any new artifacts.
431
+
432
+
Close the staging repository on Apache Nexus. When prompted for a description, enter `Apache Fluss (Incubating), version X, release candidate Y`. You can find the staging repository URL (`https://repository.apache.org/content/repositories/orgapachefluss-[STAGING_ID]/`) once the staging repository is closed successfully.
433
+
434
+

435
+
436
+
### 7. Stage Docker images
365
437
366
438
:::note
367
439
Make sure that you are authenticated with your Docker ID, and that your Docker ID has access to `apache/fluss`: `docker login -u <username>`. If you do not have access, you should seek help via the dev mailing list.
440
+
441
+
If you can't login Docker ID in your region because of network issues, you can find a cloud machine that can access Docker Hub, and perform the following steps there.
368
442
:::
369
443
370
444
Next, we need to build and push Docker images for the release candidates. This will enable users to easily test the new functionality using the Quickstart guide in the [Fluss documentation](https://fluss.apache.org/docs/quickstart/flink/) improving accessibility and feedback during the release validation phase.
@@ -373,7 +447,7 @@ From the root directory of the source code, run the following commands to build
Review all staged artifacts in the staging repositories(https://repository.apache.org/#stagingRepositories). They should contain all relevant parts for each module, including pom.xml, jar, test jar, source, test source, javadoc, etc. Carefully review any new artifacts.
469
+
Then, update the `dockerVersion` field for the current release RC version in the `website/fluss-versions.json` file on the `main` branch to the value of `${RELEASE_VERSION}_RC${RC_NUM}` (which includes the RC suffix, e.g., `0.8.0-incubating-rc1`). This update should be committed and pushed to the `main` branch.
403
470
404
-
Close the staging repository on Apache Nexus. When prompted for a description, enter `Apache Fluss (Incubating), version X, release candidate Y`. You can find the staging repository URL (`https://repository.apache.org/content/repositories/orgapachefluss-[STAGING_ID]/`) once the staging repository is closed successfully.
405
-
406
-

471
+
This ensures that the **Quickstart guide** in the documentation references the correct Docker image for the release candidate. This will help developers to easily test the new release candidate using the Quickstart guide.
svn commit -m "Remove old release candidates for Apache Fluss ${RELEASE_VERSION}"
693
+
```
694
+
620
695
**Checklist to proceed to the next step**
621
696
- Issues identified during vote have been resolved, with fixes committed to the release branch.
622
697
@@ -680,7 +755,22 @@ docker tag apache/fluss:${RELEASE_VERSION}_RC${RC_NUM} apache/fluss:${RELEASE_VE
680
755
docker push apache/fluss:${RELEASE_VERSION}
681
756
```
682
757
683
-
### 6. Mark the Milestone as released in GitHub
758
+
### 6. Update `fluss-versions.json`
759
+
760
+
Update the `released` field to `true` and `dockerVersion` to `$RELEASE_VERSION` (without the RC number) for the current release version in the `website/fluss-versions.json` file on the `main` branch. This update should be committed and pushed to the `main` branch.
761
+
This will refresh the documentation website to reflect that the new version has been officially released.
0 commit comments