@scaleway/changesets-renovate 1.1.2 → 1.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Change Log
2
2
 
3
+ ## 1.1.4
4
+
5
+ ### Patch Changes
6
+
7
+ - [#1230](https://github.com/scaleway/scaleway-lib/pull/1230) [`32ffb7c`](https://github.com/scaleway/scaleway-lib/commit/32ffb7c1dad41251a881f5eb58ca29d180c8a5d5) Thanks [@QuiiBz](https://github.com/QuiiBz)! - Fix commit command
8
+
9
+ ## 1.1.3
10
+
11
+ ### Patch Changes
12
+
13
+ - [#1228](https://github.com/scaleway/scaleway-lib/pull/1228) [`2324e6b`](https://github.com/scaleway/scaleway-lib/commit/2324e6b37feec7793567692336d24fcec5064eab) Thanks [@QuiiBz](https://github.com/QuiiBz)! - Fix current branch check
14
+
3
15
  ## 1.1.2
4
16
 
5
17
  ### Patch Changes
package/dist/index.js CHANGED
@@ -35,7 +35,7 @@ async function getBumps(files) {
35
35
  return bumps;
36
36
  }
37
37
  async function run() {
38
- const branch = await simpleGit().branch(['--show-current']);
38
+ const branch = await simpleGit().branch();
39
39
  console.log('Detected branch:', branch);
40
40
  if (!branch.current.startsWith('renovate/')) {
41
41
  console.log('Not a renovate branch, skipping');
@@ -60,7 +60,8 @@ async function run() {
60
60
  await createChangeset(fileName, packageBumps, packageNames);
61
61
  await simpleGit().add(fileName);
62
62
  await simpleGit().commit([], undefined, {
63
- '-C': 'HEAD',
63
+ '-C': null,
64
+ HEAD: null,
64
65
  '--amend': null,
65
66
  '--no-edit': null
66
67
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scaleway/changesets-renovate",
3
- "version": "1.1.2",
3
+ "version": "1.1.4",
4
4
  "description": "Automatically create changesets for Renovate",
5
5
  "keywords": [
6
6
  "changesets",