backport 8.6.1 → 8.6.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.
|
@@ -10,14 +10,14 @@ describe('commit author', () => {
|
|
|
10
10
|
let sourceRepo;
|
|
11
11
|
let backportRepo;
|
|
12
12
|
beforeEach(async () => {
|
|
13
|
-
// set dummy git author. This should not have any effect and should never be used
|
|
14
|
-
await (0, child_process_promisified_1.exec)(`git config user.name "Peter Kanin"`, { cwd: sourceRepo });
|
|
15
|
-
await (0, child_process_promisified_1.exec)(`git config user.email "kanin@zoo.dk"`, { cwd: sourceRepo });
|
|
16
13
|
const sandboxPath = (0, sandbox_1.getSandboxPath)({ filename: __filename });
|
|
17
14
|
await (0, sandbox_1.resetSandbox)(sandboxPath);
|
|
18
15
|
sourceRepo = `${sandboxPath}/sourceRepo`;
|
|
19
16
|
backportRepo = `${sandboxPath}/backportRepo`;
|
|
20
17
|
await (0, child_process_promisified_1.exec)(`git clone https://github.com/backport-org/repo-with-different-commits-authors.git ${sourceRepo}`, { cwd: sandboxPath });
|
|
18
|
+
// set dummy git author. This should not have any effect and should never be used
|
|
19
|
+
await (0, child_process_promisified_1.exec)(`git config user.name "Peter Kanin"`, { cwd: sourceRepo });
|
|
20
|
+
await (0, child_process_promisified_1.exec)(`git config user.email "kanin@zoo.dk"`, { cwd: sourceRepo });
|
|
21
21
|
});
|
|
22
22
|
describe('when nothing is specified (default)', () => {
|
|
23
23
|
it('uses commit author from source commit', async () => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const PACKAGE_VERSION = "8.6.
|
|
1
|
+
export declare const PACKAGE_VERSION = "8.6.2";
|