Merge branch 'add_nightly_builds' into 'main'

Forgot some thens in the rpm if statements

See merge request veilid/veilid!294
This commit is contained in:
TC 2024-07-15 03:36:39 +00:00
commit 4d12072ac5
2 changed files with 2 additions and 0 deletions

View File

@ -11,6 +11,7 @@ if [ "$3" = "true" ]
then then
/veilid/package/replace_variable.sh /root/rpmbuild/SPECS/veilid-cli.spec RELEASE_VERSION $BUILD_DATE /veilid/package/replace_variable.sh /root/rpmbuild/SPECS/veilid-cli.spec RELEASE_VERSION $BUILD_DATE
elif [ "$3" = "false" ] elif [ "$3" = "false" ]
then
/veilid/package/replace_variable.sh /root/rpmbuild/SPECS/veilid-cli.spec RELEASE_VERSION $CARGO_VERSION /veilid/package/replace_variable.sh /root/rpmbuild/SPECS/veilid-cli.spec RELEASE_VERSION $CARGO_VERSION
else else
echo $3 "is not a valid state to determine if the build is STABLE or NIGHTLY" echo $3 "is not a valid state to determine if the build is STABLE or NIGHTLY"

View File

@ -12,6 +12,7 @@ if [ "$3" = "true" ]
then then
/veilid/package/replace_variable.sh /root/rpmbuild/SPECS/veilid-server.spec RELEASE_VERSION $BUILD_DATE /veilid/package/replace_variable.sh /root/rpmbuild/SPECS/veilid-server.spec RELEASE_VERSION $BUILD_DATE
elif [ "$3" = "false" ] elif [ "$3" = "false" ]
then
/veilid/package/replace_variable.sh /root/rpmbuild/SPECS/veilid-server.spec RELEASE_VERSION $CARGO_VERSION /veilid/package/replace_variable.sh /root/rpmbuild/SPECS/veilid-server.spec RELEASE_VERSION $CARGO_VERSION
else else
echo $3 "is not a valid state to determine if the build is STABLE or NIGHTLY" echo $3 "is not a valid state to determine if the build is STABLE or NIGHTLY"