Skip to content

Commit

Permalink
chore: switch to gzip for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
brodo committed Sep 30, 2022
1 parent 758a251 commit 07aa78e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ jobs:
chmod +x tmp/$pkgname/$BIN_NAME$exe
if [ "$exe" = "" ]; then
tar cJf dist/$pkgname.tar.xz -C tmp $pkgname
tar czf dist/$pkgname.tar.gz -C tmp $pkgname
else
(cd tmp && 7z a -r ../dist/$pkgname.zip $pkgname)
fi
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "json_env"
version = "1.1.11"
version = "1.1.12"
edition = "2021"
license = "Apache-2.0"
description ="`json_env` loads an environment variables from a file called `.env.json` in the current directory and starts a subprocess with them."
Expand Down
2 changes: 1 addition & 1 deletion npm/getBinary.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ function getPlatform() {
function getBinary() {
const platform = getPlatform();
const version = require('../package.json').version;
const extension = platform === 'x86_64-windows' ? 'zip' : 'tar.xz';
const extension = platform === 'x86_64-windows' ? 'zip' : 'tar.gz';
const url = `https://github.com/brodo/json_env/releases/download/v${version}/json_env-v${version}-${platform}.${extension}`;
return new Binary('json_env', url);
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@brodo/json_env",
"version": "1.1.11",
"version": "1.1.12",
"description": "json_env is dotenv, but with JSON.",
"directories": {
"example": "examples"
Expand Down

0 comments on commit 07aa78e

Please sign in to comment.