Commiting and pushing so I can test on a RPM build machine

This commit is contained in:
TC Johnson 2024-07-17 15:18:59 -05:00
parent 30413e7f70
commit 6c0b645ba6
No known key found for this signature in database
4 changed files with 20 additions and 16 deletions

View File

@ -10,7 +10,8 @@ rm -rf /dpkg
mkdir -p /dpkg/out
# veilid-cli dpkg control
cp -rf /veilid/package/debian/veilid-cli /dpkg# Appropriatly name the package for STABLE or NIGHTLY release
cp -rf /veilid/package/debian/veilid-cli /dpkg
# Appropriatly set vars for STABLE or NIGHTLY release
if [ "$3" = "true" ]
then
/veilid/package/replace_variable.sh /dpkg/veilid-cli/DEBIAN/control CARGO_VERSION $BUILD_DATE
@ -35,4 +36,5 @@ then
mv /dpkg/veilid-cli.deb /dpkg/out/veilid-cli-$CARGO_VERSION\_$ARCH.deb
else
echo $3 "is not a valid state to determine if the build is STABLE or NIGHTLY"
fi
fi
echo "make veilid-cli deb process complete"

View File

@ -11,17 +11,16 @@ mkdir -p /dpkg/out
# veilid-server dpkg control
cp -rf /veilid/package/debian/veilid-server /dpkg
# Appropriatly name the package for STABLE or NIGHTLY release
# if [ "$3" = "true" ]
# then
# /veilid/package/replace_variable.sh /dpkg/veilid-server/DEBIAN/control CARGO_VERSION $BUILD_DATE
# elif [ "$3" = "false" ]
# then
# /veilid/package/replace_variable.sh /dpkg/veilid-server/DEBIAN/control CARGO_VERSION $CARGO_VERSION
# else
# echo $3 "is not a valid state to determine if the build is STABLE or NIGHTLY"
# fi
/veilid/package/replace_variable.sh /dpkg/veilid-server/DEBIAN/control CARGO_VERSION $CARGO_VERSION
# Appropriatly set vars for for STABLE or NIGHTLY release
if [ "$3" = "true" ]
then
/veilid/package/replace_variable.sh /dpkg/veilid-server/DEBIAN/control CARGO_VERSION $BUILD_DATE
elif [ "$3" = "false" ]
then
/veilid/package/replace_variable.sh /dpkg/veilid-server/DEBIAN/control CARGO_VERSION $CARGO_VERSION
else
echo $3 "is not a valid state to determine if the build is STABLE or NIGHTLY"
fi
/veilid/package/replace_variable.sh /dpkg/veilid-server/DEBIAN/control ARCH $ARCH
# veilid-server configuration
mkdir -p /dpkg/veilid-server/etc/veilid-server
@ -43,4 +42,5 @@ then
mv /dpkg/veilid-server.deb /dpkg/out/veilid-server-$CARGO_VERSION\_$ARCH.deb
else
echo $3 "is not a valid state to determine if the build is STABLE or NIGHTLY"
fi
fi
echo "make veilid-server deb process complete"

View File

@ -6,4 +6,4 @@ Architecture: $ARCH
Depends: libc6 (>= 2.23)
Maintainer: jsmith@veilid.org
Description: Veilid Server Command Line Interface
The Veilid peer-to-peer network server command line interface
This package installs a a CLI interface for locally installed Veilid peer-to-peer network headless nodes.

View File

@ -6,4 +6,6 @@ Architecture: $ARCH
Depends: libc6 (>= 2.23)
Maintainer: jsmith@veilid.org
Description: Veilid Server
The Veilid peer-to-peer network server
This package installs a Veilid peer-to-peer network headless node which can be deployed for
supporting the overall Veilid network or for local development/experimental purposes. See
https://veilid.com for more information.