File tree Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ import { promises as fs } from 'node:fs';
4
4
import semver from 'semver' ;
5
5
import { replaceInFile } from 'replace-in-file' ;
6
6
7
- import { getMergedConfig } from './config.js' ;
8
7
import { runAsync , runSync } from './run.js' ;
9
8
import { writeJson , readJson } from './file.js' ;
10
9
import Request from './request.js' ;
@@ -28,19 +27,8 @@ export default class ReleasePreparation extends Session {
28
27
this . runBranchDiff = ! argv . skipBranchDiff ;
29
28
this . ltsCodename = '' ;
30
29
this . date = '' ;
31
- this . config = getMergedConfig ( this . dir ) ;
32
30
this . filterLabels = argv . filterLabel && argv . filterLabel . split ( ',' ) ;
33
31
this . newVersion = argv . newVersion ;
34
-
35
- const { upstream, owner, repo } = this ;
36
-
37
- const upstreamHref = runSync ( 'git' , [
38
- 'config' , '--get' ,
39
- `remote.${ upstream } .url` ] ) . trim ( ) ;
40
- if ( ! new RegExp ( `${ owner } /${ repo } (?:.git)?$` ) . test ( upstreamHref ) ) {
41
- cli . warn ( 'Remote repository URL does not point to the expected ' +
42
- `repository ${ owner } /${ repo } ` ) ;
43
- }
44
32
}
45
33
46
34
get branch ( ) {
You can’t perform that action at this time.
0 commit comments