Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions scripts/validate-gentx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,17 @@ current=$(date +%Y-%m-%d\ %H:%M:%S)
curTime=$(date --date="$current" +%s)

if [[ $curTime < $stTime ]]; then
echo "start=$stTime:curent=$curTime:endTime=$endTime"
echo "start=$stTime:current=$curTime:endTime=$endTime"
echo "Gentx submission is not open yet. Please close the PR and raise a new PR after 04-June-2021 23:59:59"
exit 0
else
if [[ $curTime > $endTime ]]; then
echo "start=$stTime:curent=$curTime:endTime=$endTime"
echo "start=$stTime:current=$curTime:endTime=$endTime"
echo "Gentx submission is closed"
exit 0
else
echo "Gentx is now open"
echo "start=$stTime:curent=$curTime:endTime=$endTime"
echo "start=$stTime:current=$curTime:endTime=$endTime"
fi
fi

Expand Down