Skip to content

Commit 43b2f05

Browse files
committed
去掉版本v
1 parent aa495a1 commit 43b2f05

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/script/build_enet_android.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ rc=$rb+git.$VIDEOSDKRC
2323
if [ "$1" = "Release" ]; then
2424
rc=$GIT_BRANCH_IMAGE_VERSION+git.$VIDEOSDKRC
2525
fi
26+
rc=${rc#*v}
2627
echo $rc
2728

2829
cd samples/android

.github/script/build_enet_ios.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ VIDEOSDKVERSION=$rb+git.$VIDEOSDKRC
3333
if [ $1 == 'Release' ]; then
3434
VIDEOSDKVERSION=$rtt+git.$VIDEOSDKRC
3535
fi
36+
VIDEOSDKVERSION=${VIDEOSDKVERSION#*v}
3637
echo $VIDEOSDKVERSION
3738

3839

@@ -78,7 +79,7 @@ cp _deps/minizip-build/Release-iphoneos/libminizip.a ../../../.github/file/xp2
7879
cp ../../../.github/file/libcurl.a ../../../.github/file/xp2p_c_demo/xp2p_c_demo/XP2P-iOS/
7980

8081
xcodebuild build -project ../../../.github/file/xp2p_c_demo/xp2p_c_demo.xcodeproj -scheme xp2p_c_demo -configuration Release -sdk iphoneos -derivedDataPath ./build
81-
82+
echo "CCCCCCCCCCCCCCC"
8283

8384

8485
#触发pod发布

0 commit comments

Comments
 (0)