Open Source alternative to Algolia + Pinecone and an Easier-to-Use alternative to ElasticSearch ⚡ 🔍 ✨ Fast, typo tolerant, in-memory fuzzy Search Engine for building delightful search experiences
C++ algoliadatastoreelasticsearchenterprise-searchfacetingfull-text-searchfuzzy-searchgeosearchin-memoryinstantsearchmerchandisingpineconesearchsearch-enginesemantic-searchsimilarity-searchsite-searchsynonymstypo-tolerancevector-search
Build RPM package.
kishorenc892388a51516
diff --git a/debian-pkg/generate_deb.sh b/debian-pkg/generate_deb.shindex ed190c83..6b5740b8 100755--- a/debian-pkg/generate_deb.sh+++ b/debian-pkg/generate_deb.sh@@ -2,6 +2,12 @@# TS_VERSION is passed as an environment variable to the script+if [ -z "$TS_VERSION" ]+then+ echo "\$TS_VERSION is not provided. Quitting."+ exit 1+fi+set -exCURR_DIR=`dirname $0 | while read a; do cd $a && pwd && break; done`@@ -34,3 +40,18 @@ sed -i "s/\$VERSION/$TS_VERSION/g" `find /tmp/typesense-deb-build -maxdepth 10 -sed -i "s/\$API_KEY/$API_KEY/g" `find /tmp/typesense-deb-build -maxdepth 10 -type f`dpkg -b /tmp/typesense-deb-build/typesense-server "/tmp/typesense-deb-build/typesense-server-${TS_VERSION}-amd64.deb"++# Generate RPM++mkdir /tmp/typesense-rpm-build+cp "/tmp/typesense-deb-build/typesense-server-${TS_VERSION}-amd64.deb" /tmp/typesense-rpm-build+cd /tmp/typesense-rpm-build && alien --target=amd64 --scripts -k -r -g -v /tmp/typesense-rpm-build/typesense-server-${TS_VERSION}-amd64.deb++sed -i 's#%dir "/"##' `find /tmp/typesense-rpm-build/*/*.spec -maxdepth 10 -type f`+sed -i 's#%dir "/usr/bin/"##' `find /tmp/typesense-rpm-build/*/*.spec -maxdepth 10 -type f`++cd /tmp/typesense-rpm-build/typesense-server-${TS_VERSION} && \+ rpmbuild --target=amd64 --buildroot /tmp/typesense-rpm-build/typesense-server-${TS_VERSION} -bb \+ /tmp/typesense-rpm-build/typesense-server-${TS_VERSION}/typesense-server-${TS_VERSION}-1.spec++cd /tmp/typesense-rpm-build