Skip to content

Commit

Permalink
Merge pull request #984 from garden-io/release-fix-vol99
Browse files Browse the repository at this point in the history
chore: include dashboard package.json in release commit
  • Loading branch information
eysi09 authored Jul 17, 2019
2 parents 2744232 + d3274d1 commit ae4f51b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions bin/release.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit ae4f51b

Please sign in to comment.