From 267e0c1a657d92feaf57d48bc8066f1516060116 Mon Sep 17 00:00:00 2001 From: subash Date: Tue, 15 Aug 2023 16:34:55 +1000 Subject: [PATCH] release version 1.3.7 --- .goreleaser.yaml | 2 -- npm/binary.js | 8 +++----- npm/package-lock.json | 4 ++-- npm/package.json | 5 ++--- 4 files changed, 7 insertions(+), 12 deletions(-) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 6a13a51..5c1ce9f 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -20,8 +20,6 @@ checksum: archives: - format: 'tar.gz' name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}" - files: - - completions/* snapshot: name_template: "{{ incpatch .Version }}-next" diff --git a/npm/binary.js b/npm/binary.js index 7c668b4..558f348 100644 --- a/npm/binary.js +++ b/npm/binary.js @@ -88,9 +88,7 @@ const getBinary = () => { const url = `${repository.url}/releases/download/v${version}/${name}_${version}_${platform.TARGET}.tar.gz`; - return new Binary(platform.NAME, url, version, { - installDirectory: join(__dirname, "node_modules", ".bin") - }); + return new Binary(platform.NAME, url); }; const run = () => { @@ -98,9 +96,9 @@ const run = () => { binary.run(); }; -const install = () => { +const install = (supressLogs = false) => { const binary = getBinary(); - binary.install(); + return binary.install({}, supressLogs); }; module.exports = { diff --git a/npm/package-lock.json b/npm/package-lock.json index ca3bd36..3e6abed 100644 --- a/npm/package-lock.json +++ b/npm/package-lock.json @@ -1,12 +1,12 @@ { "name": "@adikari/safebox", - "version": "1.3.5", + "version": "1.3.7", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@adikari/safebox", - "version": "1.3.5", + "version": "1.3.7", "hasInstallScript": true, "license": "MIT", "dependencies": { diff --git a/npm/package.json b/npm/package.json index c3ed2b7..5719fc1 100644 --- a/npm/package.json +++ b/npm/package.json @@ -1,12 +1,11 @@ { "name": "@adikari/safebox", - "version": "1.3.6", + "version": "1.3.7", "description": "A Fast and Flexible secret manager built with love by adikari in Go", "main": "index.js", "bin": "./run.js", "scripts": { - "postinstall": "node install.js install", - "preuninstall": "node install.js uninstall", + "postinstall": "node ./install.js", "postversion": "git push && git push --tags" }, "repository": {