@scaleway/changesets-renovate 1.1.1 → 1.1.3

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,20 +1,28 @@
1
1
  # Change Log
2
2
 
3
+ ## 1.1.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [#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
8
+
9
+ ## 1.1.2
10
+
11
+ ### Patch Changes
12
+
13
+ - [#1224](https://github.com/scaleway/scaleway-lib/pull/1224) [`8361723`](https://github.com/scaleway/scaleway-lib/commit/8361723984c6a7c9c586570ce573db8dc73d7366) Thanks [@QuiiBz](https://github.com/QuiiBz)! - Add more logging
14
+
3
15
  All notable changes to this project will be documented in this file.
4
16
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
17
 
6
18
  ## [1.1.1](https://github.com/scaleway/scaleway-lib/compare/@scaleway/changesets-renovate@1.1.0...@scaleway/changesets-renovate@1.1.1) (2023-03-09)
7
19
 
8
-
9
20
  ### :bug: Bug Fixes
10
21
 
11
- * **deps:** pin dependency simple-git to 3.17.0 ([#1217](https://github.com/scaleway/scaleway-lib/issues/1217)) ([0dab5cf](https://github.com/scaleway/scaleway-lib/commit/0dab5cfd184991906c246c44fba50c49b18cde7b))
12
-
13
-
22
+ - **deps:** pin dependency simple-git to 3.17.0 ([#1217](https://github.com/scaleway/scaleway-lib/issues/1217)) ([0dab5cf](https://github.com/scaleway/scaleway-lib/commit/0dab5cfd184991906c246c44fba50c49b18cde7b))
14
23
 
15
24
  ## 1.1.0 (2023-03-09)
16
25
 
17
-
18
26
  ### :gear: Features
19
27
 
20
- * introduce new @scaleway/changesets-renovate package ([#1216](https://github.com/scaleway/scaleway-lib/issues/1216)) ([db88cd0](https://github.com/scaleway/scaleway-lib/commit/db88cd04970fa234a1fb83b5f6f18f2dbbb3c635))
28
+ - introduce new @scaleway/changesets-renovate package ([#1216](https://github.com/scaleway/scaleway-lib/issues/1216)) ([db88cd0](https://github.com/scaleway/scaleway-lib/commit/db88cd04970fa234a1fb83b5f6f18f2dbbb3c635))
package/dist/index.js CHANGED
@@ -35,13 +35,15 @@ 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
+ console.log('Detected branch:', branch);
39
40
  if (!branch.current.startsWith('renovate/')) {
40
41
  console.log('Not a renovate branch, skipping');
41
42
  return;
42
43
  }
43
44
  const diffOutput = await simpleGit().diffSummary(['--name-only', 'HEAD~1']);
44
45
  const diffFiles = diffOutput.files.map(file => file.file);
46
+ console.log('Found changed files:', diffFiles);
45
47
  if (diffFiles.find(f => f.startsWith('.changeset'))) {
46
48
  console.log('Changeset already exists, skipping');
47
49
  return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scaleway/changesets-renovate",
3
- "version": "1.1.1",
3
+ "version": "1.1.3",
4
4
  "description": "Automatically create changesets for Renovate",
5
5
  "keywords": [
6
6
  "changesets",
@@ -26,6 +26,5 @@
26
26
  "license": "MIT",
27
27
  "dependencies": {
28
28
  "simple-git": "3.17.0"
29
- },
30
- "gitHead": "69cf44fa221c2365b340a9cc4c057ecbbab1369d"
31
- }
29
+ }
30
+ }