This repository has been archived on 2026-03-06. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files

15 lines
549 B
JavaScript

import fs from "fs-extra";
import { binariesGithubReleasePath } from "../../config.js";
export async function getBinariesGithubRelease() {
const binariesGithubRelease = await fs.readJson(binariesGithubReleasePath);
return binariesGithubRelease.release;
}
export async function setBinariesGithubRelease(release) {
const binariesGithubReleaseJson = {
release: release
};
await fs.writeJson(binariesGithubReleasePath, binariesGithubReleaseJson, {
spaces: 4
});
}
//# sourceMappingURL=binariesGithubRelease.js.map