diff --git a/build/git.js b/build/git.js index 3eb617f3..9c2855a2 100644 --- a/build/git.js +++ b/build/git.js @@ -2,13 +2,9 @@ const fs = require("fs"); const path = require("path"); const exec = require("child_process").execSync; -const version = process.argv[2]; - const trailingNewlinesRE = /\n+$/; const trailingLinesRE = /\n([^\n]*)/g; -exec(`git tag v${version}`); - let tags = exec("git tag --sort=committerdate").toString().split("\n"); tags.pop(); tags = tags.slice(-2); diff --git a/build/release.sh b/build/release.sh index 932a1f97..f2752b76 100644 --- a/build/release.sh +++ b/build/release.sh @@ -1,3 +1,3 @@ node build/start.js $1 -node build/git.js $1 +node build/git.js sh build/npm.sh