Forgot some thens in the rpm if statements

This commit is contained in:
TC Johnson 2024-07-14 22:35:07 -05:00
parent 59a69e7839
commit f535c508bc
No known key found for this signature in database
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"