infisical: 0.22.6 -> 0.23.3 and fix update.sh

This commit is contained in:
hauskens 2024-07-09 07:24:59 +02:00
parent 47f9fe2f84
commit 7b70ad4efe
No known key found for this signature in database
GPG Key ID: 809F79389CB18650
3 changed files with 7 additions and 7 deletions

View File

@ -15,7 +15,7 @@ let
buildHashes = builtins.fromJSON (builtins.readFile ./hashes.json);
# the version of infisical
version = "0.22.6";
version = "0.23.3";
# the platform-specific, statically linked binary
src =
@ -76,7 +76,7 @@ stdenv.mkDerivation {
changelog = "https://github.com/infisical/infisical/releases/tag/infisical-cli%2Fv${version}";
license = licenses.mit;
mainProgram = "infisical";
maintainers = teams.infisical.members;
maintainers = teams.infisical.members ++ (with maintainers; [ hausken ]);
platforms = [
"x86_64-linux"
"aarch64-linux"

View File

@ -1,6 +1,6 @@
{ "_comment": "@generated by pkgs/development/tools/infisical/update.sh"
, "x86_64-linux": "sha256-wCOlCz8gh9icdiatzQY8Wm5Bf6JQoAZzKuSqo/QmOFY="
, "x86_64-darwin": "sha256-v9DKsFQhf4wRw60xAEo8bXPN0/0r7YWhMSHoijuGzwI="
, "aarch64-linux": "sha256-hoCBuR14nY8s+hQ+1bdhox0MhR0m60dH7JLCOlKmFvY="
, "aarch64-darwin": "sha256-QGgVsQQLOKspk3NBiVIjTO6J+p2+H0+zAVYu/Pl8sMI="
, "x86_64-linux": "sha256-L+uuKO6oIWjEXKkOCyON+0VHizLpaePe7p6LyY/mts4="
, "x86_64-darwin": "sha256-qLjZEd53jlSCqoxA0BDeDz/kNXUQic9UA3GaLxIVkbM="
, "aarch64-linux": "sha256-NW0/UHnv6/vlouc0gBC+lPdrGZyX1l1HJ+5Pp+ZyY1A="
, "aarch64-darwin": "sha256-n4KaDPlLdjweRRHdqN8N2hGrAqsqYyiWD/3xpjfgYk4="
}

View File

@ -6,7 +6,7 @@ set -euo pipefail
RELEASE_NAME=$(curl -s https://api.github.com/repos/infisical/infisical/releases \
| jq -r 'sort_by(.created_at) | reverse |
(map
(select ((.prerelease == false) and (.draft == false))) |
(select ((.prerelease == false) and (.draft == false) and (.name | contains("infisical-cli")))) |
first
) | .name')
VERSION=$(echo "$RELEASE_NAME" | sed -E 's/^infisical-cli\/v//')