-
Notifications
You must be signed in to change notification settings - Fork 520
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
build: implement release process in odev #5592
Conversation
Signed-off-by: tison <[email protected]>
Signed-off-by: tison <[email protected]>
Signed-off-by: tison <[email protected]>
Signed-off-by: tison <[email protected]>
Signed-off-by: tison <[email protected]>
Signed-off-by: tison <[email protected]>
Signed-off-by: tison <[email protected]>
Signed-off-by: tison <[email protected]>
Signed-off-by: tison <[email protected]>
dev/src/release/mod.rs
Outdated
let files = output.lines().collect::<Vec<_>>(); | ||
archive_and_checksum(&package, &files)?; | ||
|
||
let prefix = format!("apache-opendal-{}-src", package.name.replace("/", "-")); |
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.
Need to add the version to prefix
Signed-off-by: tison <[email protected]>
Signed-off-by: tison <[email protected]>
Signed-off-by: tison <[email protected]>
Signed-off-by: tison <[email protected]>
Signed-off-by: tison <[email protected]>
@@ -14,10 +14,6 @@ This issue is used to track tasks of the opendal ${opendal_version} release. | |||
|
|||
### Build Release | |||
|
|||
#### Release List | |||
|
|||
<!-- Generate release list by `./scripts/version.py`, please adapt with the actual needs. --> |
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.
I wish we can have something like:
/// Generate a release plan in text at `target/release.txt` and print to console.
just release plan
/// Dev can edit the release plan by hand on need like bump to 0.y+1 instead of 0.0.z+1
/// Execuate the generated plan.
just release run
The release plan can also be pasted in to PR and discussion to make the review easier.
The current way works either, maybe we can merge and move on first.
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.
I'd considering an interactive experience like cargo-release
, that prompt package versions one by one and ask the release manager to input the correct version. Then commit the updates as well as generate a release list.
Perhaps pick up in the next month.
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.
Let's move!
Add:
just update-version
for update all the release targets' version fieldjust release
for generate all the release artifacts