diff --git a/app/package.json b/app/package.json index 13579be4..449bd22d 100644 --- a/app/package.json +++ b/app/package.json @@ -8,7 +8,7 @@ "start": "BROWSER=none react-scripts start", "develop": "REACT_APP_USE_SAMPLE_DATA=true yarn start", "build": "react-scripts build", - "postbuild": "git restore build/.gitkeep", + "postbuild": "git restore build/.gitkeep 2>/dev/null || printf '# Keep directory in git.\\n' > build/.gitkeep", "test": "react-scripts test --env=jest-environment-jsdom --transformIgnorePatterns \"node_modules/(?!d3)/\"", "test:ci": "cross-env CI=true yarn test --coverage", "eject": "react-scripts eject", diff --git a/docs/release-notes/release-notes-0.17.0.md b/docs/release-notes/release-notes-0.17.0.md index e1ee8f90..7c109a1b 100644 --- a/docs/release-notes/release-notes-0.17.0.md +++ b/docs/release-notes/release-notes-0.17.0.md @@ -16,6 +16,12 @@ ### Bug Fixes +* [Fix `dev.Dockerfile` build failure on git + worktree checkouts](https://github.com/lightninglabs/lightning-terminal/pull/1311): + The web UI `postbuild` step no longer aborts when the build context lacks a + reachable git directory, which previously broke `dev.Dockerfile` builds for + contributors using `git worktree`. + * [Restore LNC session setup for mailbox links](https://github.com/lightninglabs/lightning-terminal/pull/1254): Mailbox-specific TLS transport credentials now allow mailbox links to proceed