Skip to content

Commit

Permalink
Update to NodeJS 20
Browse files Browse the repository at this point in the history
  • Loading branch information
NorthernMan54 committed Apr 29, 2024
1 parent 8b5e745 commit 6a39fff
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ https://wiki.debian.org/MaintainerScripts

## License

Copyright (C) 2023 oznu
Copyright (C) 2024 homebridge

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

Expand Down
7 changes: 3 additions & 4 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,12 @@ fi
rm -rf staging
cp -R deb staging

# Hold the NodeJS version to the 18.x LTS stream until spring of 2024, then switch to `Iron` aka 20.0 LTS
# Hold the NodeJS version to the 20.x LTS stream until 22 goes LTS
# deb/debian/control `libc6 (>= 2.31)` may need updating as well

NODE_LTS_TAG="Hydrogen"
NODE_LTS_TAG="Iron"
NODE_VERSION="$(curl -s https://nodejs.org/dist/index.json | jq -r --arg NODE_LTS_TAG "${NODE_LTS_TAG}" 'map(select(.lts==$NODE_LTS_TAG))[0].version')"



BUILD_ARCH=${QEMU_ARCH:-x86_64}

case "$BUILD_ARCH" in \
Expand Down
2 changes: 1 addition & 1 deletion deb/debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ Build-Depends: debhelper (>= 9.20160709) | dh-systemd
Standards-Version: 4.0.0

Package: homebridge
Pre-Depends: libc6 (>= 2.28), jq (>= 1.4), openssl, psmisc, make, gcc, g++, python3, net-tools, python3-venv, python3-dev
Pre-Depends: libc6 (>= 2.31), jq (>= 1.4), openssl, psmisc, make, gcc, g++, python3, net-tools, python3-venv, python3-dev
Architecture: any
Description: HomeKit support for the impatient.

0 comments on commit 6a39fff

Please sign in to comment.