Skip to content

Commit

Permalink
Merge pull request #15 from Yakov5776/patch-1
Browse files Browse the repository at this point in the history
Fix spelling typos
  • Loading branch information
kevin-david authored Aug 5, 2024
2 parents 2b046fb + f173c9e commit 7c92b81
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ function run() {
const keyPassword = core.getInput('keyPassword');
const zipAlign = core.getBooleanInput('zipAlign');
const pageAlign = core.getBooleanInput('pageAlign');
console.log(`Preparing to sign key @ ${releaseDir} with signing key`);
console.log(`Preparing to sign file(s) @ ${releaseDir} with signing key`);
// 1. Find release files
const releaseFiles = io.findReleaseFiles(releaseDir);
if (releaseFiles !== undefined && releaseFiles.length !== 0) {
Expand Down Expand Up @@ -90,7 +90,7 @@ function run() {
core.setOutput('signedReleaseFiles', signedReleaseFiles.join(":"));
core.exportVariable(`NOF_SIGNED_RELEASE_FILES`, `${signedReleaseFiles.length}`);
core.setOutput(`nofSignedReleaseFiles`, `${signedReleaseFiles.length}`);
// When there is one and only one signed release file, stoire it in a specific variable + output.
// When there is one and only one signed release file, store it in a specific variable + output.
if (signedReleaseFiles.length == 1) {
core.exportVariable(`SIGNED_RELEASE_FILE`, signedReleaseFiles[0]);
core.setOutput('signedReleaseFile', signedReleaseFiles[0]);
Expand Down
4 changes: 2 additions & 2 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ async function run() {
const zipAlign = core.getBooleanInput('zipAlign')
const pageAlign = core.getBooleanInput('pageAlign')

console.log(`Preparing to sign key @ ${releaseDir} with signing key`);
console.log(`Preparing to sign file(s) @ ${releaseDir} with signing key`);

// 1. Find release files
const releaseFiles = io.findReleaseFiles(releaseDir);
Expand Down Expand Up @@ -57,7 +57,7 @@ async function run() {
core.exportVariable(`NOF_SIGNED_RELEASE_FILES`, `${signedReleaseFiles.length}`);
core.setOutput(`nofSignedReleaseFiles`, `${signedReleaseFiles.length}`);

// When there is one and only one signed release file, stoire it in a specific variable + output.
// When there is one and only one signed release file, store it in a specific variable + output.
if (signedReleaseFiles.length == 1) {
core.exportVariable(`SIGNED_RELEASE_FILE`, signedReleaseFiles[0]);
core.setOutput('signedReleaseFile', signedReleaseFiles[0]);
Expand Down

0 comments on commit 7c92b81

Please sign in to comment.