Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 4 additions & 12 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Comment on lines 158 to +160
Copy link
Copy Markdown
Member Author

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.

git tag -a 0.3.0 -m "Release version 0.3.0"
git push origin 0.3.0

Expand All @@ -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"
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The 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:

svn mv https://dist.apache.org/repos/dist/dev/datasketches/rust/0.3.0-rc.2/ https://dist.apache.org/repos/dist/release/datasketches/rust/0.3.0/ -m "Release datasketches-rust 0.3.0"

instead of ./moveDevToRelease.sh rust 0.3.0-rc.1 0.3.0.

cc @leerho

```

3. **Send [ANNOUNCE] email** after 24 hours (allows mirror propagation):
Expand Down