Skip to content

Commit 779a467

Browse files
authored
chore: Refine release process in RELEASE.md (#129)
1 parent 38c43c6 commit 779a467

1 file changed

Lines changed: 4 additions & 12 deletions

File tree

RELEASE.md

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -155,15 +155,9 @@ After successful vote, send [VOTE-RESULT] email summarizing the outcome and proc
155155
cd ~/apache/dist/dev/datasketches/scripts
156156
./moveDevToRelease.sh rust 0.3.0-rc.1 0.3.0
157157

158-
# Update Cargo.toml to final release version (this is the only version commit!)
159-
cd /path/to/datasketches-rust
160-
git checkout main
161-
sed -i '' 's/version = ".*"/version = "0.3.0"/' datasketches/Cargo.toml
162-
git add datasketches/Cargo.toml
163-
git commit -m "chore: release 0.3.0"
164-
git push origin main
165-
166158
# Create final release tag
159+
cd /path/to/datasketches-rust
160+
git checkout 0.3.0-rc.1
167161
git tag -a 0.3.0 -m "Release version 0.3.0"
168162
git push origin 0.3.0
169163

@@ -184,11 +178,9 @@ Go to https://github.com/apache/datasketches-rust/releases and draft a new relea
184178
./createDownloadsInclude.sh /path/to/datasketches-website
185179
```
186180

187-
2. **Clean up old releases** from dist (keep only latest):
181+
2. **Clean up old releases** from dist (keep only the latest):
188182
```bash
189-
cd ~/apache/dist/release/datasketches
190-
svn rm rust/0.2.0
191-
svn commit -m "Archive old release 0.2.0"
183+
svn rm https://dist.apache.org/repos/dist/release/datasketches/rust/0.2.0/ -m "Archive old release datasketches-rust 0.2.0"
192184
```
193185

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

0 commit comments

Comments
 (0)