Commit 0b2f905 1 parent f497d44 commit 0b2f905 Copy full SHA for 0b2f905
File tree 1 file changed +5
-10
lines changed
1 file changed +5
-10
lines changed Original file line number Diff line number Diff line change @@ -32,19 +32,14 @@ try {
32
32
console . error ( `The commit referenced by "${ tag } " is not contained by any release branch.` ) ;
33
33
process . exit ( 1 ) ;
34
34
}
35
- } catch ( ex ) {
36
- console . error ( ex ) ;
37
- process . exit ( 1 ) ;
38
- }
39
35
40
- const [ , releaseBranch ] = result ;
41
- const distTag = releaseBranch === 'master' ? 'next' : releaseBranch ;
36
+ const [ , releaseBranch ] = result ;
37
+ const distTag = releaseBranch === 'master' ? 'next' : releaseBranch ;
42
38
43
- console . log (
44
- `Attempting to release from branch "${ releaseBranch } " using dist-tag "${ distTag } ".`
45
- ) ;
39
+ console . log (
40
+ `Attempting to release from branch "${ releaseBranch } " using dist-tag "${ distTag } ".`
41
+ ) ;
46
42
47
- try {
48
43
execa . commandSync ( `npm publish --tag ${ distTag } ` ) ;
49
44
} catch ( ex ) {
50
45
console . error ( ex ) ;
You can’t perform that action at this time.
0 commit comments