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 = {
7777} ;
7878
7979// 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 ;
8181// Get the latest tag
8282if ( ! commit ) {
8383 const { body : tags } = await got ( 'https://api.github.com/repos/obsproject/obs-websocket/tags' , {
@@ -88,6 +88,7 @@ if (!commit) {
8888 commit = tags [ 0 ] . name as string ;
8989}
9090
91+ console . log ( `Getting protocol for ${ commit } ` ) ;
9192const { body : protocol } = await got < GeneratedProtocol > ( `https://raw.githubusercontent.com/obsproject/obs-websocket/${ commit } /docs/generated/protocol.json` , {
9293 headers,
9394 responseType : 'json' ,
You can’t perform that action at this time.
0 commit comments