-
Notifications
You must be signed in to change notification settings - Fork 582
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add script for updating release env file, only read this in fastfile
- Loading branch information
1 parent
15b6dad
commit a9ab974
Showing
3 changed files
with
16 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/usr/bin/env bash | ||
set -euxo pipefail | ||
|
||
|
||
read -p "Are you sure you want to update the env vars in S3? " -n 1 -r | ||
|
||
if [[ $REPLY =~ ^[Yy]$ ]] | ||
then | ||
aws s3 cp .env.releases s3://artsy-citadel/eigen/.env.releases | ||
|
||
RED='\033[0;31m' | ||
RST='\033[0m' | ||
|
||
printf "${RED}Don't forget to update on 1Password and CircleCI too!${RST}\n" | ||
fi |