Skip to content

Commit

Permalink
Create Deploy_press_release.sh
Browse files Browse the repository at this point in the history
for press release deployment only. to be used only for 0.1 .0 updates and 1.0.0 updates ONLY

Signed-off-by: Josef Edwards <joed6834@colorado.edu>
  • Loading branch information
bearycool11 authored Nov 15, 2024
1 parent 2a05198 commit a17b728
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions Deploy_press_release.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
#!/bin/bash

# Check if the press release JSON file exists
if [ ! -f "press_release.json" ]; then
echo "Error: press_release.json not found!"
exit 1
fi

# Encrypt the press release JSON file
echo "Encrypting press release..."
./encrypt_release.sh press_release.json
if [ $? -ne 0 ]; then
echo "Error: Failed to encrypt the press release."
exit 1
fi

# Deploy the encrypted file to memory silos
echo "Deploying encrypted press release..."
./deploy_to_silos.sh encrypted_release.bin
if [ $? -ne 0 ]; then
echo "Error: Deployment failed."
exit 1
fi

echo "Press release deployed successfully!"

0 comments on commit a17b728

Please sign in to comment.