Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preserve the build-info.json file on the gh-pages branch #356

Merged
merged 1 commit into from
May 13, 2021

Conversation

mgeisler
Copy link
Owner

On master, we have an empty build-info.json file. When bundling
the Wasm demo, this file was included in the dist/ directory. When
we later unpack this onto the gh-pages branch, we would end up with
a dirty working copy – even if nothing else had changed since the last
commit on that branch.

With this change, we eliminate this source of change by restoring the
build-info.json file after we unpack the bundle. This way we can
detect if something changed in the bundle itself.

On `master`, we have an empty `build-info.json` file. When bundling
the Wasm demo, this file was included in the `dist/` directory. When
we later unpack this onto the `gh-pages` branch, we would end up with
a dirty working copy – even if nothing else had changed since the last
commit on that branch.

With this change, we eliminate this source of change by restoring the
`build-info.json` file after we unpack the bundle. This way we can
detect if something changed in the bundle itself.
@mgeisler mgeisler enabled auto-merge May 13, 2021 22:07
@mgeisler mgeisler merged commit 7408d4e into master May 13, 2021
@mgeisler mgeisler deleted the preserve-build-info branch May 13, 2021 22:11
@github-actions github-actions bot mentioned this pull request May 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant