Skip to content

Commit

Permalink
release version 1.3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
adikari committed Aug 15, 2023
1 parent ff922f6 commit 267e0c1
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 12 deletions.
2 changes: 0 additions & 2 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ checksum:
archives:
- format: 'tar.gz'
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
files:
- completions/*

snapshot:
name_template: "{{ incpatch .Version }}-next"
Expand Down
8 changes: 3 additions & 5 deletions npm/binary.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,19 +88,17 @@ 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 = () => {
const binary = getBinary();
binary.run();
};

const install = () => {
const install = (supressLogs = false) => {
const binary = getBinary();
binary.install();
return binary.install({}, supressLogs);
};

module.exports = {
Expand Down
4 changes: 2 additions & 2 deletions npm/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions npm/package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down

0 comments on commit 267e0c1

Please sign in to comment.