@scaleway/changesets-renovate 1.1.0 → 1.1.2

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,11 +1,22 @@
1
1
  # Change Log
2
2
 
3
+ ## 1.1.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#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
8
+
3
9
  All notable changes to this project will be documented in this file.
4
10
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
11
 
6
- ## 1.1.0 (2023-03-09)
12
+ ## [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
13
 
14
+ ### :bug: Bug Fixes
15
+
16
+ - **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))
17
+
18
+ ## 1.1.0 (2023-03-09)
8
19
 
9
20
  ### :gear: Features
10
21
 
11
- * introduce new @scaleway/changesets-renovate package ([#1216](https://github.com/scaleway/scaleway-lib/issues/1216)) ([db88cd0](https://github.com/scaleway/scaleway-lib/commit/db88cd04970fa234a1fb83b5f6f18f2dbbb3c635))
22
+ - 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
@@ -36,12 +36,14 @@ async function getBumps(files) {
36
36
  }
37
37
  async function run() {
38
38
  const branch = await simpleGit().branch(['--show-current']);
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.0",
3
+ "version": "1.1.2",
4
4
  "description": "Automatically create changesets for Renovate",
5
5
  "keywords": [
6
6
  "changesets",
@@ -25,7 +25,6 @@
25
25
  },
26
26
  "license": "MIT",
27
27
  "dependencies": {
28
- "simple-git": "^3.17.0"
29
- },
30
- "gitHead": "27e5bbe5e46fdcbde2b16f871a8abbb9db6652ac"
31
- }
28
+ "simple-git": "3.17.0"
29
+ }
30
+ }