-
Notifications
You must be signed in to change notification settings - Fork 11
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
Tag and check for release candidates #61
base: main
Are you sure you want to change the base?
Conversation
Merge branch 'master' into prerelease-state # Conflicts: # DESCRIPTION # NAMESPACE # R/bump-version.R # R/finalize-version.R # R/import.R
Codecov Report
@@ Coverage Diff @@
## prerelease-state #61 +/- ##
=================================================
Coverage 0.00% 0.00%
=================================================
Files 17 21 +4
Lines 184 531 +347
=================================================
- Misses 184 531 +347
Continue to review full report at Codecov.
|
@krlmlr Successfully used this branch to release mlr v2.18.0 including to failed attempt (which triggered two "-rc" tags). |
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.
Thanks. Can you please isolate the changes so that they apply directly to the f-27-automate
branch, and open a new PR? I'm not ready to commit to state management, RC tagging is useful in itself.
R/auto.R
Outdated
# FIXME: clean up mess | ||
|
||
# check if gh is avail | ||
is_gh_avail <- suppressWarnings(try(system2("gh", stdout = FALSE, stderr = FALSE), silent = TRUE)) |
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 rather discuss this change in a separate PR.
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.
Separate = third.
R/auto.R
Outdated
@@ -64,10 +64,12 @@ pre_release_impl <- function(which, force) { | |||
# push main branch, bump to devel version and push again | |||
push_to_new(remote_name, force) | |||
switch_branch(main_branch) | |||
push_head(main_branch) |
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.
not sure if these two push_head()
calls are still needed - guess we need to check in action
Rebased and stripped the diff, not sure if I removed something important though. I'd just check how it behaves in practice then but ofc this is your decision in the end. |
/style |
Merge back PR target branch
/merge |
Did your latest comment have the intention to merge this PR? |
No. |
/merge |
I'm experimenting with a flow that allows seamless integration of the target branch into the source branch. I do wonder why GitHub hasn't implemented this yet. Anyway, this is now available through the "/ merge" command in pull requests. Because GHA won't run checks when I push directly, I open a PR instead so that the user can merge manually and trigger checks in the target branch. CC @wael-sadek. |
@krlmlr How do you want to proceed here? I assume closing? |
I'm open to discussing release candidate tags. About to merge that long-running PR, this will probably close this PR. |
fixes #60
release()
post_release()
gh
(if avail) to merge a PR instead of merging the branch.ToDo