-
Notifications
You must be signed in to change notification settings - Fork 22
chore: Refine release process in RELEASE.md #129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -155,15 +155,9 @@ After successful vote, send [VOTE-RESULT] email summarizing the outcome and proc | |
| cd ~/apache/dist/dev/datasketches/scripts | ||
| ./moveDevToRelease.sh rust 0.3.0-rc.1 0.3.0 | ||
|
|
||
| # Update Cargo.toml to final release version (this is the only version commit!) | ||
| cd /path/to/datasketches-rust | ||
| git checkout main | ||
| sed -i '' 's/version = ".*"/version = "0.3.0"/' datasketches/Cargo.toml | ||
| git add datasketches/Cargo.toml | ||
| git commit -m "chore: release 0.3.0" | ||
| git push origin main | ||
|
|
||
| # Create final release tag | ||
| cd /path/to/datasketches-rust | ||
| git checkout 0.3.0-rc.1 | ||
| git tag -a 0.3.0 -m "Release version 0.3.0" | ||
| git push origin 0.3.0 | ||
|
|
||
|
|
@@ -184,11 +178,9 @@ Go to https://github.com/apache/datasketches-rust/releases and draft a new relea | |
| ./createDownloadsInclude.sh /path/to/datasketches-website | ||
| ``` | ||
|
|
||
| 2. **Clean up old releases** from dist (keep only latest): | ||
| 2. **Clean up old releases** from dist (keep only the latest): | ||
| ```bash | ||
| cd ~/apache/dist/release/datasketches | ||
| svn rm rust/0.2.0 | ||
| svn commit -m "Archive old release 0.2.0" | ||
| svn rm https://dist.apache.org/repos/dist/release/datasketches/rust/0.2.0/ -m "Archive old release datasketches-rust 0.2.0" | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Better command. Actually we can use similar oneliner for SVN release, like what I do: instead of cc @leerho |
||
| ``` | ||
|
|
||
| 3. **Send [ANNOUNCE] email** after 24 hours (allows mirror propagation): | ||
|
|
||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should update the version in Cargo.toml beforehand.
The RC tag to vote on is the final snapshot.