Skip to content

Commit

Permalink
Merge pull request #17 from sethgoldin/success-message
Browse files Browse the repository at this point in the history
Success message to resolve ambiguity
  • Loading branch information
sethgoldin authored Feb 23, 2021
2 parents 30a08bc + fa6df4b commit f68753b
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 14 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ The MHL file generated on the sending side and verified on the receiving side fu
- The command output format set to [text](https://docs.aws.amazon.com/cli/latest/userguide/cli-usage-output.html#text-output)

## Tested platforms
Release 2.0.0-beta has been tested on Linux, macOS, and Windows, specifically on:
- Fedora 32
- CentOS 7.8.2003
- macOS Catalina 10.15.4
- Windows 10 1909
Release 2.0.0 has been tested on Linux, macOS, and Windows, specifically on:
- Fedora 32 and higher
- CentOS 7.8.2003 and higher
- macOS Catalina 10.15.4 and higher
- Windows 10 1909 and higher

There aren't too many dependencies, so these scripts seem like they should work flawlessly on other major Linux distributions as well, though no other distributions have been tested.

Expand Down
6 changes: 3 additions & 3 deletions receive.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
echo "s3-xxHash-transfer receive.ps1 version 2.0.0-beta"
echo "s3-xxHash-transfer receive.ps1 version 2.0.0"


# Lets check to make sure that mhl is properly installed
Expand Down Expand Up @@ -63,6 +63,6 @@ else
if ($LASTEXITCODE -ne 0)
{ Exit-PSSession }
else
{ echo "The data from <$s3url> has been downloaded into $destinationLocalDirectory and has been verified." }}
{ echo "Success! The data from <$s3url> has been downloaded into $destinationLocalDirectory and has been verified." }}

Read-Host -Prompt "Press the Enter key to exit"
Read-Host -Prompt "Press the Enter key to exit"
4 changes: 2 additions & 2 deletions receive.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

echo "s3-xxHash-transfer receive.sh version 2.0.0-beta"
echo "s3-xxHash-transfer receive.sh version 2.0.0"

# Lets check to make sure that mhl is properly installed https://stackoverflow.com/a/677212/

Expand Down Expand Up @@ -69,4 +69,4 @@ mhl verify -f "$mhlFileName" &&

# Once the download has finished and the MHL file has been verified, let's let the user know that the data has been downloaded and verified.

echo "The data from <$s3url> has been downloaded into $destinationLocalDirectory and has been verified."
echo "Success! The data from <$s3url> has been downloaded into $destinationLocalDirectory and has been verified."
4 changes: 2 additions & 2 deletions send.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
echo "s3-xxHash-transfer send.ps1 version 2.0.0-beta"
echo "s3-xxHash-transfer send.ps1 version 2.0.0"


# Lets check to make sure that mhl is properly installed
Expand Down Expand Up @@ -66,6 +66,6 @@ if ($LASTEXITCODE -ne 0)

# Once the upload has finished, let's let the user know that the data has been sealed and ingested.

echo "The data from <$sourceLocalDirectory> has been sealed with 64-bit xxHash checksums and has been ingested into AWS S3 at <$s3url>."
echo "Success! The data from <$sourceLocalDirectory> has been sealed with 64-bit xxHash checksums and has been ingested into AWS S3 at <$s3url>."

Read-Host -Prompt "Press the Enter key to exit"
4 changes: 2 additions & 2 deletions send.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

echo "s3-xxHash-transfer send.sh version 2.0.0-beta"
echo "s3-xxHash-transfer send.sh version 2.0.0"

# Lets check to make sure that mhl is properly installed https://stackoverflow.com/a/677212/

Expand Down Expand Up @@ -43,4 +43,4 @@ aws s3 sync "$sourceLocalDirectory" $s3url &&

# Once the upload has finished, let's let the user know that the data has been sealed and ingested.

echo "The data from <$sourceLocalDirectory> has been sealed with 64-bit xxHash checksums and has been ingested into AWS S3 at <$s3url>."
echo "Success! The data from <$sourceLocalDirectory> has been sealed with 64-bit xxHash checksums and has been ingested into AWS S3 at <$s3url>."

0 comments on commit f68753b

Please sign in to comment.