From 760d774cb0c3f3870a6e08b49c61c4e6646a4426 Mon Sep 17 00:00:00 2001 From: Kabir Shah Date: Wed, 18 Jul 2018 17:38:10 -0700 Subject: [PATCH] remove tag --- build/git.js | 4 ---- build/release.sh | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) 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