From f535c508bcf3ffe55357e409e3c45fa095505bc2 Mon Sep 17 00:00:00 2001 From: TC Johnson Date: Sun, 14 Jul 2024 22:35:07 -0500 Subject: [PATCH] Forgot some thens in the rpm if statements --- package/rpm/veilid-cli/earthly_make_veilid_cli_rpm.sh | 1 + package/rpm/veilid-server/earthly_make_veilid_server_rpm.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/package/rpm/veilid-cli/earthly_make_veilid_cli_rpm.sh b/package/rpm/veilid-cli/earthly_make_veilid_cli_rpm.sh index b9884df5..4ef9c3e8 100755 --- a/package/rpm/veilid-cli/earthly_make_veilid_cli_rpm.sh +++ b/package/rpm/veilid-cli/earthly_make_veilid_cli_rpm.sh @@ -11,6 +11,7 @@ if [ "$3" = "true" ] then /veilid/package/replace_variable.sh /root/rpmbuild/SPECS/veilid-cli.spec RELEASE_VERSION $BUILD_DATE elif [ "$3" = "false" ] +then /veilid/package/replace_variable.sh /root/rpmbuild/SPECS/veilid-cli.spec RELEASE_VERSION $CARGO_VERSION else echo $3 "is not a valid state to determine if the build is STABLE or NIGHTLY" diff --git a/package/rpm/veilid-server/earthly_make_veilid_server_rpm.sh b/package/rpm/veilid-server/earthly_make_veilid_server_rpm.sh index 267ff704..a7549d48 100755 --- a/package/rpm/veilid-server/earthly_make_veilid_server_rpm.sh +++ b/package/rpm/veilid-server/earthly_make_veilid_server_rpm.sh @@ -12,6 +12,7 @@ if [ "$3" = "true" ] then /veilid/package/replace_variable.sh /root/rpmbuild/SPECS/veilid-server.spec RELEASE_VERSION $BUILD_DATE elif [ "$3" = "false" ] +then /veilid/package/replace_variable.sh /root/rpmbuild/SPECS/veilid-server.spec RELEASE_VERSION $CARGO_VERSION else echo $3 "is not a valid state to determine if the build is STABLE or NIGHTLY"