Skip to content

Commit

Permalink
fix: mark passed
Browse files Browse the repository at this point in the history
  • Loading branch information
sattvikc committed Oct 17, 2023
1 parent da9aa3f commit f3814c8
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .circleci/markPassed.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
coreVersion=$(cat ../build.gradle | grep -e "version =" -e "version=")

while IFS='"' read -ra ADDR; do
counter=0
for i in "${ADDR[@]}"; do
if [ $counter == 1 ]
then
coreVersion=$i
fi
counter=$(($counter+1))
done
done <<< "$coreVersion"

echo "calling /core PATCH to make testing passed"
responseStatus=$(curl -s -o /dev/null -w "%{http_code}" -X PATCH \
https://api.supertokens.io/0/core \
Expand Down

0 comments on commit f3814c8

Please sign in to comment.