From 507c37eee5fb18a01471da431ca31636cd6eb836 Mon Sep 17 00:00:00 2001 From: krlmlr Date: Sun, 18 Feb 2024 17:42:22 +0000 Subject: [PATCH] [create-pull-request] automated change --- tests/testthat/_snaps/auto.md | 173 +--------------------------------- 1 file changed, 2 insertions(+), 171 deletions(-) diff --git a/tests/testthat/_snaps/auto.md b/tests/testthat/_snaps/auto.md index f0c56e415..f29dbf17f 100644 --- a/tests/testthat/_snaps/auto.md +++ b/tests/testthat/_snaps/auto.md @@ -17,76 +17,13 @@ Error in `gert::git_branch_create()`: ! Failed to find git reference 'blop' -# init_release() works - - Code - init_release() - Output - +------------------+ - | | - | init-release | - | | - +------------------+ - Message - - -- 1. Creating a release branch and getting ready ------------------------------ - > Creating branch cran-0.0.1. - > Switching to branch cran-0.0.1. - > Committing changes. - - -- 2. Opening Pull Request for release branch ---------------------------------- - > Pushing cran-0.0.1 to remote origin. - > Opening draft pull request with contents from 'cran-comments.md'. - - -- 3. User Action Items -------------------------------------------------------- - * Run `devtools::check_win_devel()`. - * Run `rhub::check_for_cran()`. - * Run `urlchecker::url_update()`. - * Check all items in 'cran-comments.md'. - * Review 'NEWS.md'. - * Run `fledge::release()`. - Output - NULL - # init_release() -- force Code init_release() Condition - Error in `check_release_branch()`: - x The branch "cran-0.0.1" already exists. - i Do you need `init_release(force = TRUE)`? - ---- - - Code - init_release(force = TRUE) - Output - +------------------+ - | | - | init-release | - | | - +------------------+ - Message - - -- 1. Creating a release branch and getting ready ------------------------------ - > Creating branch cran-0.0.1. - > Switching to branch cran-0.0.1. - > Committing changes. - - -- 2. Opening Pull Request for release branch ---------------------------------- - > Pushing cran-0.0.1 to remote origin. - > Opening draft pull request with contents from 'cran-comments.md'. - - -- 3. User Action Items -------------------------------------------------------- - * Run `devtools::check_win_devel()`. - * Run `rhub::check_for_cran()`. - * Run `urlchecker::url_update()`. - * Check all items in 'cran-comments.md'. - * Review 'NEWS.md'. - * Run `fledge::release()`. - Output - NULL + Error in `check_release()`: + ! Local main branch ahead by 1 commit. # full cycle @@ -198,49 +135,6 @@ Output NULL ---- - - Code - release() - Message - > Checking presence and scope of `GITHUB_PAT`. - > Pushing cran-0.1.0. - - -- Tagging Version -- - - > Creating tag v0.1.0 with tag message derived from 'NEWS.md'. - > Force-pushing tag v0.1.0. - i Building - Output - -- R CMD build ----------------------------------------------------------------- - * checking for file DESCRIPTION - * preparing 'tea' - * checking DESCRIPTION meta-information ... OK - * checking for LF line-endings in source and make files and shell scripts - * checking for empty or unneeded directories - * building 'tea_0.0.1.tar.gz' - - Message - i Submitting file: 'tea_0.0.1.tar.gz' - i File size: "some hundreds of bytes" - i Uploading package & comments - Not submitting for real o:-) - > Switching to branch main. - > Pulling main. - Resetting main to origin/main - > Merging release branch. - i Check your inbox for a confirmation e-mail from CRAN. - > Copy the URL to the clipboard. - Not submitting for real o:-) - ---- - - Code - post_release() - Message - > Creating GitHub release "v0.1.0". - > Omitting in test. - # release abandon Code @@ -294,66 +188,3 @@ Output NULL -# full cycle, add more to main - - Code - post_release() - Message - > Omitting in test. - ---- - - Code - post_release() - Message - > Omitting in test. - ---- - - Code - post_release() - Message - > Omitting in test. - ---- - - Code - post_release() - Message - > Omitting in test. - ---- - - Code - post_release() - Message - > Omitting in test. - ---- - - Code - post_release() - Message - > Omitting in test. - -# full cycle, add more to main NO PUSH - - Code - post_release() - Message - > Omitting in test. - ---- - - Code - post_release() - Message - > Omitting in test. - ---- - - Code - post_release() - Message - > Omitting in test. -