Skip to content

Commit

Permalink
Script to build up a release and place all the nars in the Release bi…
Browse files Browse the repository at this point in the history
…nary
  • Loading branch information
Jeremy Dyer committed Sep 25, 2018
1 parent db295b6 commit 495ede4
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions Processors/build-release.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
#!/bin/bash

echo "Building Release Zip ...."

# Make the directory and start moving the files into it
rm -rf ./Release
rm -rf ./Release.tar.gz
rm -rf ./Release.zip
mkdir Release

cp ./nifi-barcode/nifi-barcode-nar/target/*.nar ./Release/.
cp ./nifi-docker/nifi-docker-nar/target/*.nar ./Release/.
cp ./nifi-file/nifi-file-nar/target/*.nar ./Release/.
cp ./nifi-google-cloud/nifi-google-nar/target/*.nar ./Release/.
cp ./nifi-google-cloud/nifi-google-cloud-services/nifi-google-api-nar/target/*.nar ./Release/.
cp ./nifi-google-cloud/nifi-google-cloud-services/nifi-google-nar/target/*.nar ./Release/.
cp ./nifi-hdfs/nifi-hdfs-nar/target/*.nar ./Release/.
cp ./nifi-image/nifi-image-nar/target/*.nar ./Release/.
cp ./nifi-jmx/nifi-jmx-nar/target/*.nar ./Release/.
cp ./nifi-ocr/nifi-ocr-nar/target/*.nar ./Release/.
cp ./nifi-opencv/nifi-opencv-nar/target/*.nar ./Release/.
cp ./nifi-salesforce/nifi-salesforce-nar/target/*.nar ./Release/.
cp ./nifi-sphinx/nifi-sphinx-nar/target/*.nar ./Release/.
cp ./nifi-tensorflow/nifi-tensorflow-nar/target/*.nar ./Release/.
cp ./nifi-tesseract/nifi-tesseract-nar/target/*.nar ./Release/.

tar -czvf Release.tar.gz ./Release
zip Release.zip ./Release

0 comments on commit 495ede4

Please sign in to comment.