-
Notifications
You must be signed in to change notification settings - Fork 74
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
bf2e32e
commit a4261f5
Showing
4 changed files
with
55 additions
and
33 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 @@ | ||
set -e | ||
|
||
export IRIS_CDN_URL_ANDROID="https://download.agora.io/sdk/release/iris_2.2.1-dev.4_RTM_Android_Video_20240808_0551_578.zip" | ||
export IRIS_CDN_URL_IOS="https://download.agora.io/sdk/release/iris_4.3.2-build.1_DCG_iOS_Video_20240604_0459_409.zip" | ||
export IRIS_CDN_URL_IOS="https://download.agora.io/sdk/release/iris_2.2.1-dev.4_RTM_iOS_Video_20240808_0551_479.zip" | ||
export IRIS_CDN_URL_MACOS="https://download.agora.io/sdk/release/iris_4.3.2-build.1_DCG_Mac_Video_20240604_0500_404.zip" | ||
export IRIS_CDN_URL_WINDOWS="https://download.agora.io/sdk/release/iris_4.3.2-build.1_DCG_Windows_Video_20240604_0456_441.zip" |
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,20 @@ | ||
#!/bin/bash | ||
|
||
# The log of `dart pub publish`` will be written into `${PUB_CACHE}/log/pub_log.txt` | ||
dart pub publish --dry-run --verbose | ||
|
||
if [[ ! -f "${PUB_CACHE}/log/pub_log.txt" ]]; then | ||
echo "The ${PUB_CACHE}/log/pub_log.txt is not exist." | ||
exit 1 | ||
fi | ||
|
||
RET=$(grep 'ERR' ${PUB_CACHE}/log/pub_log.txt) | ||
|
||
if [[ ! -z $RET ]]; then | ||
echo "\n" | ||
echo "=================================== ERR =============================================" | ||
echo "There are some ERR when run the \`dart pub publish --dry-run\`, please check the log." | ||
exit 1 | ||
fi | ||
|
||
exit 0 |
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