File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -74,7 +74,8 @@ COMMENT
7474 local DSYM=" $APP .app.dSYM"
7575 local ARGS=" archive -scheme $APP -archivePath $XCARCHIVE -destination generic/platform=iOS"
7676 if [[ " $BUILD_TYPE " = nightly ]]; then
77- ARGS=" $ARGS MARKETING_VERSION=$( date +' %y%m%d%H%M' ) +$VER +$BRANCH +$COMMIT "
77+ VER=" $( date +' %y%m%d%H%M' ) +$VER +$BRANCH +$COMMIT "
78+ ARGS=" $ARGS MARKETING_VERSION=$VER "
7879 fi
7980 local LOG=" build/$VER .log"
8081 local OUTIPA=" build/$APP .$VER .ipa"
@@ -83,9 +84,9 @@ COMMENT
8384 [[ -d " build" ]] && rm -fr build || true && mkdir build
8485 [[ -d " $XCARCHIVE " ]] && rm -fr $XCARCHIVE
8586 echo " ::group:: Building $BUILD_TYPE "
86- echo " [$VER ] Building.." | _ghtee " $GITHUB_STEP_SUMMARY "
87+ echo " ### [$VER ] Building $BUILD_TYPE .." | _ghtee " $GITHUB_STEP_SUMMARY "
8788 NSUnbufferedIO=YES set -o pipefail && xcodebuild $ARGS 2>&1 | tee " $LOG " | xcbeautify --renderer github-actions
88- echo " [$VER ] Archiving.." | _ghtee " $GITHUB_STEP_SUMMARY "
89+ echo " ### [$VER ] Archiving $BUILD_TYPE .." | _ghtee " $GITHUB_STEP_SUMMARY "
8990 xz -e " $LOG "
9091 tar cvf " $DSYMTAR " -C " $XCARCHIVE /dSYMs" " $DSYM " 2>&1 | _ghtee $GITHUB_STEP_SUMMARY null
9192 xz -e " $DSYMTAR "
You can’t perform that action at this time.
0 commit comments