Merge pull request #254 from LiveLM/main

Fix 'Release' typo.
This commit is contained in:
Robin Raju authored and GitHub committed 2021-06-30 09:56:19 +02:00
commit eacf394065
2 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -3327,7 +3327,7 @@ exports.download = download;
*/
function getlatestRelease(repoPath, token) {
return __awaiter(this, void 0, void 0, function* () {
core.info(`Fetching latest relase for repo ${repoPath}`);
core.info(`Fetching latest release for repo ${repoPath}`);
const headers = { Accept: "application/vnd.github.v3+json" };
if (token !== "") {
headers["Authorization"] = `token ${token}`;
@@ -3349,7 +3349,7 @@ function getlatestRelease(repoPath, token) {
*/
function getReleaseByTag(repoPath, tag, token) {
return __awaiter(this, void 0, void 0, function* () {
core.info(`Fetching relase ${tag} from repo ${repoPath}`);
core.info(`Fetching release ${tag} from repo ${repoPath}`);
if (tag === "") {
throw new Error("Config error: Please input a valid tag");
}
+2 -2
View File
@@ -48,7 +48,7 @@ async function getlatestRelease(
repoPath: string,
token: string
): Promise<GithubRelease> {
core.info(`Fetching latest relase for repo ${repoPath}`)
core.info(`Fetching latest release for repo ${repoPath}`)
const headers: IHeaders = {Accept: "application/vnd.github.v3+json"}
if (token !== "") {
@@ -83,7 +83,7 @@ async function getReleaseByTag(
tag: string,
token: string
): Promise<GithubRelease> {
core.info(`Fetching relase ${tag} from repo ${repoPath}`)
core.info(`Fetching release ${tag} from repo ${repoPath}`)
if (tag === "") {
throw new Error("Config error: Please input a valid tag")