Skip to content

Commit 35d0871

Browse files
committed
Update Node.js version to 22.16.0 and enhance publish workflow
1 parent 2397562 commit 35d0871

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

.github/workflows/publish.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,16 @@ jobs:
1919
run: |
2020
bash nodejs/nodeDeb.sh
2121
22+
- name: Extract Node.js Version
23+
id: extract_version
24+
run: echo "NODE_VERSION=$(grep -oP "version='\K[^']+" nodejs/nodeDeb.sh)" >> $GITHUB_ENV
25+
2226
- name: Automatic Release
2327
uses: marvinpinto/action-automatic-releases@latest
2428
with:
2529
repo_token: "${{ secrets.GITHUB_TOKEN }}"
2630
automatic_release_tag: "latest"
2731
prerelease: false
28-
title: "Latest Build"
32+
title: "Node.js ${{ env.NODE_VERSION }} Build"
2933
files: |
30-
*.deb
34+
*.deb

nodejs/control

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Package: node
2-
Version: 22.14.0
2+
Version: 22.16.0
33
Priority: optional
44
Section: web
55
Maintainer: Jak Bin https://github.com/jakbin

nodejs/nodeDeb.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# repo url:- https://github.com/jakbin/deb-scripts
44

55

6-
version='v22.14.0'
6+
version='v22.16.0'
77

88
if [ -f 'node-'$version'-linux-x64.tar.xz' ]; then
99
echo "file node-$version-linux-x64.tar.xz already exits"

0 commit comments

Comments
 (0)