-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Squashed 'apollo-ios/' changes from f5d918ed..99dfbdb8
99dfbdb8 release: (#367) git-subtree-dir: apollo-ios git-subtree-split: 99dfbdb869dbba16bd09e086b2b669bfcab811ec
- Loading branch information
gh-action-runner
authored and
gh-action-runner
committed
May 23, 2024
1 parent
5d4dac2
commit 3f6162f
Showing
4 changed files
with
24 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import Foundation | ||
|
||
public enum Constants { | ||
public static let ApolloVersion: String = "1.12.1" | ||
public static let ApolloVersion: String = "1.12.2" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#!/bin/bash | ||
|
||
directory=$(dirname "$0") | ||
projectDir="$directory/../CLI" | ||
|
||
APOLLO_VERSION=$(sh "$directory/get-version.sh") | ||
FILE_PATH="$projectDir/apollo-ios-cli.tar.gz" | ||
tar -xf "$FILE_PATH" | ||
CLI_VERSION=$(./apollo-ios-cli --version) | ||
|
||
echo "Comparing Apollo version $APOLLO_VERSION with CLI version $CLI_VERSION" | ||
|
||
if [ "$APOLLO_VERSION" = "$CLI_VERSION" ]; then | ||
echo "Success - matched!" | ||
else | ||
echo "Failed - mismatch!" | ||
exit 1 | ||
fi |