diff --git a/scripts/patchVersion.js b/scripts/patchVersion.js index 8c28554..4c6d53d 100644 --- a/scripts/patchVersion.js +++ b/scripts/patchVersion.js @@ -12,7 +12,7 @@ fs.readFile("dist/gccomment.user.js", "utf8", function (err, data) { if (tag !== "main") { var result = data.replace( /gccomment\.user\.js\.map/g, - `${rootUrl}/${tag}/gccomment_${tag}.user.js.map` + `${rootUrl}/${tag}/gccomment.user.js.map` ); var result = result.replace( /@version 0.0.0/g,