-
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.
- Loading branch information
1 parent
5ca37c1
commit 5301099
Showing
6 changed files
with
43 additions
and
2 deletions.
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
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,6 +1,6 @@ | ||
import Foundation | ||
|
||
public enum Constants { | ||
public static let CLIVersion: String = "1.12.1" | ||
public static let CLIVersion: String = "1.12.2" | ||
static let defaultFilePath: String = "./apollo-codegen-config.json" | ||
} |
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 |