From 37154ed82afc5ba1f1a5cc48249aed021d260560 Mon Sep 17 00:00:00 2001 From: archmoj Date: Thu, 18 Feb 2021 17:21:52 -0500 Subject: [PATCH 1/2] add a script to help generating noci baselines --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 8af295cb404..1427467c43d 100644 --- a/package.json +++ b/package.json @@ -49,6 +49,7 @@ "start-image_viewer": "node devtools/image_viewer/server.js", "start": "npm run start-test_dashboard", "baseline": "node tasks/baseline.js", + "noci-baseline": "npm run cibuild && ./tasks/noci_test.sh image && git checkout dist", "preversion": "check-node-version --node 12 --npm 6.14 && npm-link-check && npm ls --prod", "version": "npm run build && npm run no-bad-char && git add -A dist build src/version.js", "postversion": "node -e \"console.log('Version bumped and committed. If ok, run: git push && git push --tags')\"", From 0892ef91cced645e53aad5d165d6963391e134a9 Mon Sep 17 00:00:00 2001 From: archmoj Date: Thu, 18 Feb 2021 17:26:54 -0500 Subject: [PATCH 2/2] print a note for when to commit a baseline change --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 1427467c43d..e7f50c3ef34 100644 --- a/package.json +++ b/package.json @@ -49,7 +49,7 @@ "start-image_viewer": "node devtools/image_viewer/server.js", "start": "npm run start-test_dashboard", "baseline": "node tasks/baseline.js", - "noci-baseline": "npm run cibuild && ./tasks/noci_test.sh image && git checkout dist", + "noci-baseline": "npm run cibuild && ./tasks/noci_test.sh image && git checkout dist && echo 'Please do not commit unless the change was expected!'", "preversion": "check-node-version --node 12 --npm 6.14 && npm-link-check && npm ls --prod", "version": "npm run build && npm run no-bad-char && git add -A dist build src/version.js", "postversion": "node -e \"console.log('Version bumped and committed. If ok, run: git push && git push --tags')\"",