Skip to content

Commit

Permalink
chore(release_script): remove unused files (#1083)
Browse files Browse the repository at this point in the history
  • Loading branch information
remyleone authored Jun 8, 2020
1 parent c3ca2e6 commit 32952cd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/release/release.js
Original file line number Diff line number Diff line change
Expand Up @@ -267,8 +267,7 @@ async function main() {
git("branch", "-D", TMP_BRANCH);
git("checkout", "-b", TMP_BRANCH);
replaceInFile(GO_VERSION_PATH, /Version = "[^"]*"/, `Version = "v${newVersion}+dev"`);
replaceInFile(VERSION_TEST_GOLDEN_PATH, /\([^)]*\)/, `(${newVersion})`)
git("add", GO_VERSION_PATH, VERSION_TEST_GOLDEN_PATH);
git("add", GO_VERSION_PATH);
git("commit", "-m", `chore: cleanup after v${newVersion} release`);
git("push", "-f", "--set-upstream", TMP_REMOTE, TMP_BRANCH);
git("checkout", GITHUB_RELEASED_BRANCH);
Expand Down

0 comments on commit 32952cd

Please sign in to comment.