Skip to content

Commit

Permalink
Merge pull request #1395 from lucascurti/fix-chrome-manifest-copy
Browse files Browse the repository at this point in the history
fix Chrome manifest copy to build folder
  • Loading branch information
hipstersmoothie authored Jul 22, 2020
2 parents 6073901 + bdc455a commit 300a083
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion plugins/chrome/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import {
validatePluginConfiguration,
} from "@auto-it/core";
import * as fs from "fs";
import * as path from "path";
import { inc, ReleaseType, gte } from "semver";
import { promisify } from "util";
import * as t from "io-ts";
Expand Down Expand Up @@ -164,7 +165,10 @@ export default class ChromeWebStorePlugin implements IPlugin {
JSON.stringify(manifest, undefined, 2)
);

await copyFile(this.options.manifest, this.options.build);
await copyFile(
this.options.manifest,
path.join(this.options.build, "manifest.json")
);

// commit new version
await execPromise("git", ["add", this.options.manifest]);
Expand Down

0 comments on commit 300a083

Please sign in to comment.