fix(workflow): Fix versioning and missing deps (#212)

* fix versioning

* add missing deps for testing

---------

Co-authored-by: Meliox <na>
This commit is contained in:
Meliox 2026-06-14 10:13:54 +02:00 committed by GitHub
parent f36e27a4d6
commit a6c08dc65d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 6 deletions

View File

@ -33,10 +33,9 @@ jobs:
- name: Inject version into Config.pm
run: |
export BUILD_VERSION="${{ steps.version.outputs.build_version }}"
perl -i -pe 'BEGIN { $v = $ENV{BUILD_VERSION} }
s/(our \$VERSION\s*=\s*'"'"')[^'"'"']*'"'"';/$1'"'"'$v'"'"';/
' src/node_info/files/Config.pm
BUILD_VERSION="${{ steps.version.outputs.build_version }}"
sed -i -E "s/^our \\\$VERSION\\s*=.*/our \\\$VERSION = '${BUILD_VERSION}';/" \
src/node_info/files/Config.pm
- name: Set package version in changelog
run: |

View File

@ -13,9 +13,9 @@ echo "deb [trusted=yes] http://download.proxmox.com/debian/pve $SUITE pve-no-sub
| sudo tee /etc/apt/sources.list.d/pve-test.list >/dev/null
sudo apt-get update -qq
echo "[fetch] Downloading pve-manager, proxmox-widget-toolkit, and pve-yew-mobile-gui..."
echo "[fetch] Downloading pve-manager, proxmox-widget-toolkit, pve-yew-mobile-gui, libjson-perl, and libpve-common-perl..."
cd "$WORKDIR"
apt-get download pve-manager proxmox-widget-toolkit pve-yew-mobile-gui
apt-get download pve-manager proxmox-widget-toolkit pve-yew-mobile-gui libjson-perl libpve-common-perl
echo "[fetch] Extracting to system paths..."
for deb in *.deb; do