Skip to content

Commit

Permalink
release v0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
waymondrang committed Jan 27, 2022
1 parent b64ee38 commit 6414b76
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions package.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const chrome_manifest = JSON.parse(fs.readFileSync("./src/chrome/manifest.json")

var firefox_manifest = JSON.parse(fs.readFileSync("./src/firefox/manifest.json").toString());

if (process.argv.includes("--copy")) {
if (process.argv.includes("--copy") || process.argv.includes("--all")) {

const src_files = fs.readdirSync("./src/chrome");

Expand Down Expand Up @@ -62,12 +62,12 @@ function end_message() {
console.log("\x1b[36m%s\x1b[0m", "process finished in " + ((new Date() - start_time) / 1000) + " seconds");
}

if (process.argv.includes("--package")) {
if (process.argv.includes("--package") || process.argv.includes("--all")) {
console.log("creating zip files");
var package_shell = exec(`package.sh \"v${chrome_manifest["version"]}\"`);
package_shell.on("exit", function () {
console.log(`release ${chrome_manifest["version"]} created for chrome and firefox`);
if (process.argv.includes("--git")) {
if (process.argv.includes("--git") || process.argv.includes("--all")) {
console.log("committing and pushing changes");
var package_shell = exec(`git.sh \"v${chrome_manifest["version"]}\"`);
package_shell.on("exit", function () {
Expand Down
Binary file modified releases/dad_v0.2.0_chrome.zip
Binary file not shown.
Binary file modified releases/dad_v0.2.0_firefox.zip
Binary file not shown.

0 comments on commit 6414b76

Please sign in to comment.