Skip to content

Commit

Permalink
Merge pull request #19 from Tormak9970/dev
Browse files Browse the repository at this point in the history
chore: fixed typo
  • Loading branch information
Tormak9970 authored Aug 15, 2024
2 parents a616d6a + d5384ef commit d8b2971
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/create-release-assets/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,13 +83,13 @@ runs:
}
const linuxInstallerPath = path.resolve(process.cwd(), "build-resources", "linux-installer.sh");
const linuxInstallerContents = fs.readFileSync(linuxInstallerPath, "utf-8");
const appimageInstallerPath = path.resolve(process.cwd(), "build-resources", "appimage-installer.sh");
const appimageInstallerContents = fs.readFileSync(appimageInstallerPath, "utf-8");
core.info(`Release Tag: ${process.env.release_tag}`);
const modifiedContents = linuxInstallerContents.replace("VALUE_TO_SEARCH_FOR", process.env.release_tag);
await uploadReleaseAsset("linux-installer.sh", Buffer.from(modifiedContents));
core.info("Uploaded linux installer to release.");
const modifiedContents = appimageInstallerContents.replace("VALUE_TO_SEARCH_FOR", process.env.release_tag);
await uploadReleaseAsset("appimage-installer.sh", Buffer.from(modifiedContents));
core.info("Uploaded appimage installer to release.");
if (process.env.git_branch == "release") {
Expand Down

0 comments on commit d8b2971

Please sign in to comment.