Fix IPFS change detection

nx affected `head` was set to `master` instead of `HEAD`, which cause every commit to detect a change and deploy.

- Fix head argument for nx affected command
This commit is contained in:
Edd 2022-04-13 09:35:09 +00:00 committed by GitHub
parent 7aea742677
commit 6079e2027d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -104,7 +104,7 @@ readdirSync(projectPath).forEach((proj) => {
try {
const affectedSinceCommit = execSync(
`yarn nx print-affected --base=${baseCommit} --head=master --select=projects`
`yarn nx print-affected --base=${baseCommit} --head=HEAD --select=projects`
);
// Detect if this project name is in output, taking care not to match names that are