From 23f4783da47b0d286dbed1cb71fb7ea48a5d3497 Mon Sep 17 00:00:00 2001 From: Matt Moeller Date: Thu, 2 Sep 2021 17:43:31 -0700 Subject: [PATCH] [publish binary] --- package-lock.json | 7 +++---- package.json | 8 +++++--- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/package-lock.json b/package-lock.json index d20ec76..3ed8343 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "big_mac", - "version": "0.1.0", + "version": "0.1.1", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -495,9 +495,8 @@ } }, "node-pre-gyp-github": { - "version": "1.4.3", - "resolved": "https://registry.npmjs.org/node-pre-gyp-github/-/node-pre-gyp-github-1.4.3.tgz", - "integrity": "sha512-tnJ0iZgzIZnZl7VBgebPYdzOe98dxMnQeDs6+yX1WVdt6IiWu0l4EYes3IY7ZIokRbtJ4iJjqwgGIyQrdfDJSg==", + "version": "git://github.com/ultamatt/node-pre-gyp-github.git#43c2d256206838200c3c4bf0d9d687541493c151", + "from": "git://github.com/ultamatt/node-pre-gyp-github.git#43c2d25", "dev": true, "requires": { "@octokit/rest": "^15.9.5", diff --git a/package.json b/package.json index f6f01b3..da5c2bb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "big_mac", - "version": "0.1.0", + "version": "0.1.1", "description": "Get mac addresses", "main": "index.node", "scripts": { @@ -8,10 +8,12 @@ "build": "cargo-cp-artifact -nc index.node -- cargo build --message-format=json-render-diagnostics", "build-debug": "npm run build --", "build-release": "npm run build -- --release", - "move_index_node": "mv index.node native", + "move_index_node": "[ ! -f index.node ] || mv index.node native", "package": "npm run move_index_node && node-pre-gyp package", "upload-binary": "npm run package && node-pre-gyp-github publish", + "everything": "npm run clean && npm install && npm test && npm run upload-binary", "test": "cargo test", + "env_test": "console.log(process.env)", "clean": "rm -rf node_modules && rm -rf build && rm -rf target && rm -rf native && rm -f index.node" }, "author": "", @@ -20,7 +22,7 @@ "cargo-cp-artifact": "^0.1", "neon": "^2.0.0", "node-pre-gyp": "^0.17.0", - "node-pre-gyp-github": "^1.4.3" + "node-pre-gyp-github": "git://github.com:ultamatt/node-pre-gyp-github.git#43c2d25" }, "repository": { "type": "git",