@scaleway/changesets-renovate 1.3.1 → 1.4.0
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 +12 -0
- package/README.md +6 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +5 -3
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 1.4.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#1705](https://github.com/scaleway/scaleway-lib/pull/1705) [`d3e1246`](https://github.com/scaleway/scaleway-lib/commit/d3e1246f70229cf9e3a7a5d464d921fe5e379af0) Thanks [@wrighbr](https://github.com/wrighbr)! - add the ability to skip commit
|
|
8
|
+
|
|
9
|
+
## 1.3.2
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#1687](https://github.com/scaleway/scaleway-lib/pull/1687) [`d47550d`](https://github.com/scaleway/scaleway-lib/commit/d47550d1a306db83e665a7195dee7df6d09e866a) Thanks [@renovate](https://github.com/apps/renovate)! - Updated dependency `simple-git` to `3.21.0`.
|
|
14
|
+
|
|
3
15
|
## 1.3.1
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -16,4 +16,10 @@ This package is a very simple CLI:
|
|
|
16
16
|
changesets-renovate
|
|
17
17
|
```
|
|
18
18
|
|
|
19
|
+
To skip committing the changeset.
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
SKIP_COMMIT=TRUE changesets-renovate
|
|
23
|
+
```
|
|
24
|
+
|
|
19
25
|
It's inspired by this GitHub Action from Backstage: https://github.com/backstage/backstage/blob/master/.github/workflows/sync_renovate-changesets.yml
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -82,9 +82,11 @@ async function run() {
|
|
|
82
82
|
const fileName = `.changeset/renovate-${shortHash}.md`;
|
|
83
83
|
const packageBumps = await getBumps(files);
|
|
84
84
|
await createChangeset(fileName, packageBumps, packageNames);
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
85
|
+
if (!process.env['SKIP_COMMIT']) {
|
|
86
|
+
await simpleGit().add(fileName);
|
|
87
|
+
await simpleGit().commit(`chore: add changeset renovate-${shortHash}`);
|
|
88
|
+
await simpleGit().push();
|
|
89
|
+
}
|
|
88
90
|
}
|
|
89
91
|
run().catch(console.error);
|
|
90
92
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scaleway/changesets-renovate",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.0",
|
|
4
4
|
"description": "Automatically create changesets for Renovate",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
@@ -25,6 +25,6 @@
|
|
|
25
25
|
"sync"
|
|
26
26
|
],
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"simple-git": "3.
|
|
28
|
+
"simple-git": "3.21.0"
|
|
29
29
|
}
|
|
30
30
|
}
|