Skip to content

Commit

Permalink
[CI] - typo
Browse files Browse the repository at this point in the history
  • Loading branch information
PravinPK committed Jun 25, 2021
1 parent 25bdea6 commit 97e6818
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Script/version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ echo "------------------AEPAssurance-------------------"
PODSPEC_VERSION_IN_AEPAssurance=$(pod ipc spec AEPAssurance.podspec | jq '.version' | tr -d '"')
echo "Local podspec version - ${BLUE}${PODSPEC_VERSION_IN_AEPAssurance}${NC}"
SOURCE_CODE_VERSION_IN_AEPAssurance=$(cat ./AEPAssurance/Source/AssuranceConstants.swift | egrep '\s*EXTENSION_VERSION\s*=\s*\"(.*)\"' | ruby -e "puts gets.scan(/\"(.*)\"/)[0] " | tr -d '"')
echo "Souce code version - ${BLUE}${SOURCE_CODE_VERSION_IN_AEPAssurance}${NC}"
echo "Source code version - ${BLUE}${SOURCE_CODE_VERSION_IN_AEPAssurance}${NC}"

if [[ "$1" == "$PODSPEC_VERSION_IN_AEPAssurance" ]] && [[ "$1" == "$SOURCE_CODE_VERSION_IN_AEPAssurance" ]]; then
echo "${GREEN}Pass!${NC}"
Expand Down

0 comments on commit 97e6818

Please sign in to comment.