-
Checkout the
napi-libnode-v18.x
branch of https://github.com/mmomtchev/node and rebase it on top of the latest tag (iev18.10.0
) -
Change the directory to
node-18.x/ubuntu
and add the new version to thedebian/changelog
by launchingdch
-
export BRANCH=18
-
bash make-libnode-dist.sh
This will create the-orig
tarballs -
bash extract-libnode-dir.sh
This will create the debian source directory, reapply and refresh the patches (patches will be modified after this step) Don't worry if thenapi-embedding
patch fails to apply cleanly -
bash make-patch.sh ../node-napi-libnode-v18.x
(directory with thenapi-libnode-v18.x
checkout) This will create a newlibnode
patch with all the eventual modifications from the rebase in step 1 This will update thenapi-embedding
patch - rerun step 5 if there were errors -
BIN_ONLY=1 bash build-libnode.sh
This will simply test building the new packages -
PUBLISH=1 SRC_ONLY=1 bash build-libnode.sh
This will publish the new packages