Skip to content

Commit

Permalink
[create-pull-request] automated change
Browse files Browse the repository at this point in the history
  • Loading branch information
krlmlr authored Feb 18, 2024
1 parent 367c670 commit 507c37e
Showing 1 changed file with 2 additions and 171 deletions.
173 changes: 2 additions & 171 deletions tests/testthat/_snaps/auto.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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.

0 comments on commit 507c37e

Please sign in to comment.