Skip to content

Commit

Permalink
fix: gdate is specific to brew and mac (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
iBotPeaches authored Aug 9, 2023
1 parent d23bee0 commit 1d0b939
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion delete.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ if [ -n "$INPUT_AWS_REGION" ]; then
fi

# Get the contents of the bucket
DATE=$(gdate -d "$INPUT_S3_DELETE_PHRASE" +"%Y-%m-%dT%H:%M:%S%z")
DATE=$(date -d "$INPUT_S3_DELETE_PHRASE" +"%Y-%m-%dT%H:%M:%S%z")

# Ensure we have a valid date
EXIT_CODE=$?
Expand Down

0 comments on commit 1d0b939

Please sign in to comment.