Skip to content

Commit 2a08442

Browse files
Version Packages (next) (#113)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent e2b975d commit 2a08442

3 files changed

Lines changed: 25 additions & 1 deletion

File tree

.changeset/pre.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,13 @@
88
"afraid-forks-develop",
99
"chatty-kiwis-fold",
1010
"humble-weeks-watch",
11+
"kind-spoons-prove",
1112
"lazy-jokes-camp",
13+
"little-colts-bet",
14+
"polite-carrots-exist",
1215
"six-eyes-return",
1316
"slick-bottles-try",
17+
"sunny-nights-heal",
1418
"tidy-chefs-bake"
1519
]
1620
}

CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,25 @@
11
# @changesets/ghcommit
22

3+
## 3.0.0-next.1
4+
5+
### Major Changes
6+
7+
- [#118](https://github.com/changesets/ghcommit/pull/118) [`e2b975d`](https://github.com/changesets/ghcommit/commit/e2b975dc48003dfa24fd18393149cd8e1d6d2037) Thanks [@bluwy](https://github.com/bluwy)! - Remove `recursivelyFindRoot` and make `cwd` optional for `commitChangesSinceBase`. Files will also not be filtered by `cwd` by default. To only commit files from a directory, use the `filterFiles` option instead.
8+
9+
- [#117](https://github.com/changesets/ghcommit/pull/117) [`165c6cb`](https://github.com/changesets/ghcommit/commit/165c6cbbd2e284a9af4ea5dacb8752798e243b70) Thanks [@bluwy](https://github.com/bluwy)! - Rename public APIs and export types. Note that the existing changelog may still reference the old names, but the new names should be used instead.
10+
- `commitFilesFromBase64` -> `commitChanges`
11+
- `commitChangesFromRepo` -> `commitChangesSinceBase`
12+
13+
### Minor Changes
14+
15+
- [#116](https://github.com/changesets/ghcommit/pull/116) [`67853bf`](https://github.com/changesets/ghcommit/commit/67853bfb20c860ba1cb4069be443ba4e54c79095) Thanks [@bluwy](https://github.com/bluwy)! - Improve create, update, and force update handling in `commitFilesFromBase64`:
16+
- Correctly detect if the `base` is the same as `branch` by comparing their SHAs instead of names.
17+
- Perform a normal update if the branch exists and the `base` and branch HEAD SHAs match, instead of always a force update if `force` is true.
18+
- Always clean up created or existing temporary branches during force updates, even if it fails.
19+
- Always return a non-nullable `refId` from `commitFilesFromBase64` (and consequently `commitChangesFromRepo`). If the commit fails, it'll throw an error instead, similar to existing parts of the implementation.
20+
21+
- [#111](https://github.com/changesets/ghcommit/pull/111) [`1cf711e`](https://github.com/changesets/ghcommit/commit/1cf711eac92dc535787c3af3cc488989826ee43d) Thanks [@bluwy](https://github.com/bluwy)! - Support `branch` and `tag` format for `commitChangesFromRepo` `base` option. This aligns with the `commitFilesFromBase64` `base` option.
22+
323
## 3.0.0-next.0
424

525
### Major Changes

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@changesets/ghcommit",
3-
"version": "3.0.0-next.0",
3+
"version": "3.0.0-next.1",
44
"description": "Directly change files on github using the github API, to support GPG signing",
55
"keywords": [
66
"actions",

0 commit comments

Comments
 (0)