File tree Expand file tree Collapse file tree 2 files changed +701
-79
lines changed Expand file tree Collapse file tree 2 files changed +701
-79
lines changed Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ const headers = {
77
77
} ;
78
78
79
79
// Defaulting to the branch for now to get the latest docs-only changes
80
- let commit = process . argv [ 2 ] ?? process . env . GH_COMMIT ?? 'master' ;
80
+ let commit = process . argv [ 2 ] ?? process . env . GH_COMMIT ;
81
81
// Get the latest tag
82
82
if ( ! commit ) {
83
83
const { body : tags } = await got ( 'https://api.github.com/repos/obsproject/obs-websocket/tags' , {
@@ -88,6 +88,7 @@ if (!commit) {
88
88
commit = tags [ 0 ] . name as string ;
89
89
}
90
90
91
+ console . log ( `Getting protocol for ${ commit } ` ) ;
91
92
const { body : protocol } = await got < GeneratedProtocol > ( `https://raw.githubusercontent.com/obsproject/obs-websocket/${ commit } /docs/generated/protocol.json` , {
92
93
headers,
93
94
responseType : 'json' ,
You can’t perform that action at this time.
0 commit comments