Skip to content

Commit

Permalink
Update release docs
Browse files Browse the repository at this point in the history
Signed-off-by: Yi Chen <[email protected]>
  • Loading branch information
ChenYi015 committed Jul 22, 2024
1 parent 2fe8251 commit ae2e175
Showing 1 changed file with 17 additions and 6 deletions.
23 changes: 17 additions & 6 deletions docs/release.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,27 +52,38 @@ If you want to push changes to the `release-X.Y` release branch, you have to che
### Create GitHub tag
1. After the above PR is merged, rebase your release branch and push new tag to upstream:
1. After the above PR is merged, rebase your release branch:
```bash
git fetch upstream
git rebase upstream/release-X.Y
```
2. Modify `VERSION` file in the root directory of the project:
- For the RC tag as follows:
```bash
git tag vX.Y.Z-rc.N
git push upstream vX.Y.Z-rc.N
vX.Y.Z-rc.N
```
- For the official release tag as follows:
```bash
git tag vX.Y.Z
git push upstream vX.Y.Z
vX.Y.Z
```
3. Commit the changes:
```bash
VERSION=$(cat VERSION)
git add VERSION
git commit -s -m "Release $VERSION"
git push
```
4. Submit a PR to the release branch. After the PR is merged, a new tag will be automatically created if the `VERSION` file has changed.
### Release Spark Operator Image
After a pre-release/release tag is pushed, a release workflow will be triggered to build and push Spark operator docker image to Docker Hub.
Expand All @@ -87,7 +98,7 @@ After the draft release is published, a release workflow will be triggered to up
## Update Changelog
Update the Changelog by running:
Update the `CHANGELOG.md` file by running:
```bash
python hack/generate-changelog.py \
Expand Down

0 comments on commit ae2e175

Please sign in to comment.