Skip to content

Commit

Permalink
update packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-dzeda committed Jan 10, 2024
1 parent ab31982 commit 0354e92
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions ops/build_and_package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0354e92

Please sign in to comment.