-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(upload-storage): add script to confirm remote sync (#444)
- Loading branch information
Showing
3 changed files
with
21 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/usr/bin/env bash | ||
|
||
echo "" | ||
echo "*** Warning! ***" | ||
echo "" | ||
echo "Please commit your storage files first and check " | ||
echo "if there are any differences between your local copy and the remote files!" | ||
echo "" | ||
echo "Write 'upload' to confirm uploading your files:" | ||
|
||
read input | ||
|
||
if [ "$input" == "upload" ]; then | ||
echo 'ok' | ||
exit 0 | ||
else | ||
echo 'not ok' | ||
exit 1 | ||
fi |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.