From d3274d134e729c537dc2a2dfce802fcbc32366e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ey=C3=BE=C3=B3r=20Magn=C3=BAsson?= Date: Wed, 17 Jul 2019 16:14:18 +0200 Subject: [PATCH] chore: include dashboard package.json in release commit --- bin/release.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/bin/release.ts b/bin/release.ts index 8dc92eac88..22943c92bd 100755 --- a/bin/release.ts +++ b/bin/release.ts @@ -96,7 +96,7 @@ async function release() { // Pull remote tags console.log("Pulling remote tags...") - await execa("git", ["fetch", "origin", "--tags"], { cwd: gardenRoot }) + await execa("git", ["fetch", "origin", "--tags", "-f"], { cwd: gardenRoot }) // Verify tag doesn't exist const tags = (await execa.stdout("git", ["tag"], { cwd: gardenRoot })).split("\n") @@ -124,7 +124,9 @@ async function release() { console.log("Committing changes...") await execa("git", [ "add", - "CHANGELOG.md", "garden-service/package.json", "garden-service/package-lock.json", + "CHANGELOG.md", + "garden-service/package.json", "garden-service/package-lock.json", + "dashboard/package.json", "dashboard/package-lock.json", ], { cwd: gardenRoot }) await execa("git", [ "commit",