We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ee12773 commit f52e9bbCopy full SHA for f52e9bb
1 file changed
scripts/fetchReleases.js
@@ -75,7 +75,11 @@ const fetchReleases = async (githubToken) => {
75
});
76
};
77
78
-// TODO: Allow for Environment Variable input
+if (process.env.GITHUB_TOKEN) {
79
+ console.log('Fetching releases from github.com');
80
+ fetchReleases(process.env.GITHUB_TOKEN);
81
+ return;
82
+}
83
84
const rl = readline.createInterface({
85
input: process.stdin,
0 commit comments