|
1 | 1 | # bump_version() works -- dev
|
2 | 2 |
|
| 3 | + Code |
| 4 | + bump_version() |
| 5 | + Message |
| 6 | + > Digesting messages from 3 commits. |
| 7 | + v Found 1 NEWS-worthy entry. |
| 8 | + |
| 9 | + -- Updating NEWS -- |
| 10 | + |
| 11 | + > Adding new entries to 'NEWS.md'. |
| 12 | + |
| 13 | + -- Updating Version -- |
| 14 | + |
| 15 | + v Package version bumped to 0.0.0.9001. |
| 16 | + > Added header to 'NEWS.md'. |
| 17 | + > Committing changes. |
| 18 | + |
| 19 | + -- Tagging Version -- |
| 20 | + |
| 21 | + > Creating tag v0.0.0.9001 with tag message derived from 'NEWS.md'. |
| 22 | + ! Run `fledge::finalize_version(push = TRUE)`. |
| 23 | + |
| 24 | +--- |
| 25 | + |
3 | 26 | Code
|
4 | 27 | bump_version(no_change_behavior = "fail")
|
5 | 28 | Condition
|
6 |
| - Error in `default_commit_range()`: |
7 |
| - ! unused argument (ref) |
| 29 | + Error in `bump_version_impl()`: |
| 30 | + x No change since last version. |
| 31 | + i Use `no_change_behavior = "bump"` to force a version bump, or `no_change_behavior = "noop"` to do nothing. |
| 32 | + |
| 33 | +--- |
| 34 | + |
| 35 | + Code |
| 36 | + bump_version(no_change_behavior = "noop") |
| 37 | + Message |
| 38 | + i No change since last version. |
| 39 | + |
| 40 | +--- |
| 41 | + |
| 42 | + Code |
| 43 | + bump_version(no_change_behavior = "bump") |
| 44 | + Message |
| 45 | + > Digesting messages from 1 commits. |
| 46 | + i Same as previous version. |
| 47 | + |
| 48 | + -- Updating NEWS -- |
| 49 | + |
| 50 | + > Adding new entries to 'NEWS.md'. |
| 51 | + |
| 52 | + -- Updating Version -- |
| 53 | + |
| 54 | + v Package version bumped to 0.0.0.9002. |
| 55 | + > Added header to 'NEWS.md'. |
| 56 | + > Committing changes. |
| 57 | + |
| 58 | + -- Tagging Version -- |
| 59 | + |
| 60 | + > Creating tag v0.0.0.9002 with tag message derived from 'NEWS.md'. |
| 61 | + ! Run `fledge::finalize_version(push = TRUE)`. |
| 62 | + |
| 63 | +# bump_version() works -- not dev |
| 64 | + |
| 65 | + Code |
| 66 | + bump_version(which = "major") |
| 67 | + Message |
| 68 | + > Digesting messages from 3 commits. |
| 69 | + v Found 1 NEWS-worthy entry. |
| 70 | + |
| 71 | + -- Updating NEWS -- |
| 72 | + |
| 73 | + > Adding new entries to 'NEWS.md'. |
| 74 | + |
| 75 | + -- Updating Version -- |
| 76 | + |
| 77 | + v Package version bumped to 1.0.0. |
| 78 | + > Added header to 'NEWS.md'. |
| 79 | + > Committing changes. |
| 80 | + |
| 81 | + -- Preparing package for CRAN release -- |
| 82 | + |
| 83 | + * Convert the change log in 'NEWS.md' to release notes. |
8 | 84 |
|
9 | 85 | # bump_version() errors informatively for forbidden notifications
|
10 | 86 |
|
|
0 commit comments