File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ project=/path/to/fake-project
2828cdn=/path/to/fake-cdn
2929
3030cd $project
31- git checkout master
31+ git checkout main
3232set +e
3333git tag -d 0.0.1
3434set -e
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ OPTIONS
1111
1212 --branch=branch
1313 Specifies which branch to create the release from.
14- Defaults to master .
14+ Defaults to main .
1515
1616 --remote=repo
1717 Specifies the remote repository to work with. There are three
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ Release.define( {
4141 } ) ;
4242
4343 Release . _parseRemote ( ) ;
44- Release . branch = Release . args . branch || "master " ;
44+ Release . branch = Release . args . branch || "main " ;
4545 Release . preRelease = Release . args . preRelease || false ;
4646 if ( Release . args . dryRun || Release . args . isTest ) {
4747 Release . isTest = true ;
Original file line number Diff line number Diff line change @@ -212,10 +212,10 @@ Release.define( {
212212 // Update package.json URLs
213213 console . log ( "Updating package.json URLs..." ) ;
214214 json = Release . readPackage ( ) ;
215- json . author . url = json . author . url . replace ( "master " , Release . newVersion ) ;
215+ json . author . url = json . author . url . replace ( "main " , Release . newVersion ) ;
216216 if ( json . licenses ) {
217217 json . licenses . forEach ( function ( license ) {
218- license . url = license . url . replace ( "master " , Release . newVersion ) ;
218+ license . url = license . url . replace ( "main " , Release . newVersion ) ;
219219 } ) ;
220220 }
221221 Release . writePackage ( json ) ;
You can’t perform that action at this time.
0 commit comments