diff --git a/ops/build_and_package.sh b/ops/build_and_package.sh index e59bbe1..ddb04c0 100755 --- a/ops/build_and_package.sh +++ b/ops/build_and_package.sh @@ -29,14 +29,12 @@ then exit 1 fi -cp -r ../ssas/cfg/configs/* . - cd ../ssas go clean echo "Building ssas..." go build -ldflags "-X github.com/CMSgov/bcda-ssas-app/ssas/constants.Version=$VERSION" -o ssas ./service/main echo "Packaging ssas binary into RPM..." -fpm -v $VERSION -s dir -t rpm -n ssas ssas=/usr/local/bin/ssas swaggerui=/etc/sv/ssas configs=/go/src/github.com/CMSgov/bcda-ssas-app/ssas/cfg/configs +fpm -v $VERSION -s dir -t rpm -n ssas ssas=/usr/local/bin/ssas swaggerui=/etc/sv/ssas cfg/configs=/go/src/github.com/CMSgov/bcda-ssas-app/ssas/cfg/configs #Sign RPMs