@scaleway/changesets-renovate 1.2.0 → 1.2.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 +12 -0
- package/dist/index.js +4 -9
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 1.2.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#1240](https://github.com/scaleway/scaleway-lib/pull/1240) [`51e15d2`](https://github.com/scaleway/scaleway-lib/commit/51e15d2ba75172b90736e48a827744490fdf9a51) Thanks [@QuiiBz](https://github.com/QuiiBz)! - Commit message respects commitlint
|
|
8
|
+
|
|
9
|
+
## 1.2.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#1236](https://github.com/scaleway/scaleway-lib/pull/1236) [`3d05f84`](https://github.com/scaleway/scaleway-lib/commit/3d05f84b283859ef7ff336fc02e59a9ea1959d04) Thanks [@QuiiBz](https://github.com/QuiiBz)! - Create a new commit instead of amend + force push
|
|
14
|
+
|
|
3
15
|
## 1.2.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
package/dist/index.js
CHANGED
|
@@ -62,18 +62,13 @@ async function run() {
|
|
|
62
62
|
console.log('No packages modified, skipping');
|
|
63
63
|
return;
|
|
64
64
|
}
|
|
65
|
-
const shortHash = await simpleGit().revparse(['--short', 'HEAD']);
|
|
66
|
-
const fileName = `.changeset/renovate-${shortHash
|
|
65
|
+
const shortHash = (await simpleGit().revparse(['--short', 'HEAD'])).trim();
|
|
66
|
+
const fileName = `.changeset/renovate-${shortHash}.md`;
|
|
67
67
|
const packageBumps = await getBumps(files);
|
|
68
68
|
await createChangeset(fileName, packageBumps, packageNames);
|
|
69
69
|
await simpleGit().add(fileName);
|
|
70
|
-
await simpleGit().commit(
|
|
71
|
-
|
|
72
|
-
HEAD: null,
|
|
73
|
-
'--amend': null,
|
|
74
|
-
'--no-edit': null
|
|
75
|
-
});
|
|
76
|
-
await simpleGit().push(['--force']);
|
|
70
|
+
await simpleGit().commit(`chore: add changeset renovate-${shortHash}`);
|
|
71
|
+
await simpleGit().push();
|
|
77
72
|
}
|
|
78
73
|
run().catch(console.error);
|
|
79
74
|
|