opc source code

This commit is contained in:
flower_linux
2026-06-09 17:27:24 +08:00
parent 70f675a48b
commit f0da5cb3c3
2002 changed files with 269812 additions and 7 deletions

View File

@@ -0,0 +1,21 @@
#!/usr/bin/env bash
set -e
#DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
#BASE_DIR="$( realpath "$DIR/../../../" )"
echo -e "== Building the Debian package =="
/usr/bin/python3 ./tools/prepare_packaging.py
echo -e "--- New debian changelog content ---"
echo "--------------------------------------"
cat ./debian/changelog
echo "--------------------------------------"
#dpkg-buildpackage -b
echo "Test file1" > ../libopen62541_dev.deb
echo "Test file2" > ../libopen62541_tools.deb
if [ $? -ne 0 ] ; then exit 1 ; fi
echo "Copying .deb files to $BUILD_ARTIFACTSTAGINGDIRECTORY"
cp ../libopen62541*.deb $BUILD_ARTIFACTSTAGINGDIRECTORY