-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #411 from Darock-Studio/deploy/alternative-update
deploy: Update alternative distribution info
- Loading branch information
Showing
3 changed files
with
14 additions
and
19 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,16 +1,11 @@ | ||
#!/bin/bash | ||
|
||
if [[ "$CI_WORKFLOW" == "Canary Deploy" ]]; then | ||
if [[ "$CI_WORKFLOW" == "Public Release" ]]; then | ||
TESTFLIGHT_DIR_PATH=../TestFlight | ||
mkdir $TESTFLIGHT_DIR_PATH | ||
echo -e "CI 自动生成信息,24小时内的main分支的提交:\n" > $TESTFLIGHT_DIR_PATH/WhatToTest.zh-Hans.txt | ||
git fetch -a --deepen 40 && git log --since="24 hours ago" main --pretty=format:"%s" >> $TESTFLIGHT_DIR_PATH/WhatToTest.zh-Hans.txt | ||
elif [[ "$CI_WORKFLOW" == "Public Release" ]]; then | ||
echo -e "当前语义化版本:$CI_TAG\n\nRelease Notes: https://github.com/Darock-Studio/Darock-Bili/releases/tag/$CI_TAG\n\n若要使用 watchOS App,请打开“在 Apple Watch 上显示 App”开关" > $TESTFLIGHT_DIR_PATH/WhatToTest.zh-Hans.txt | ||
elif [[ "$CI_WORKFLOW" == "Alternative" ]]; then | ||
TESTFLIGHT_DIR_PATH=../TestFlight | ||
mkdir $TESTFLIGHT_DIR_PATH | ||
echo -e "当前语义化版本:$CI_TAG\n\nRelease Notes: https://github.com/Darock-Studio/Darock-Bili/releases/tag/$CI_TAG\n\n若要使用watchOS App,请打开“在Apple Watch上显示App”开关" > $TESTFLIGHT_DIR_PATH/WhatToTest.zh-Hans.txt | ||
elif [[ "$CI_WORKFLOW" == "TF Deploy" ]]; then | ||
TESTFLIGHT_DIR_PATH=../TestFlight | ||
mkdir $TESTFLIGHT_DIR_PATH | ||
echo -e "由 Linecom 替代分发的喵哩喵哩\n\n当前语义化版本:$CI_TAG\n\nRelease Notes: https://github.com/Darock-Studio/Darock-Bili/releases/tag/$CI_TAG\n\n若要使用watchOS App,请打开“在Apple Watch上显示App”开关" > $TESTFLIGHT_DIR_PATH/WhatToTest.zh-Hans.txt | ||
echo -e "由 ThreeManager785 替代分发的喵哩喵哩\n\n当前语义化版本:$CI_TAG\n\nRelease Notes: https://github.com/Darock-Studio/Darock-Bili/releases/tag/$CI_TAG\n\n若要使用 watchOS App,请打开“在 Apple Watch 上显示 App”开关" > $TESTFLIGHT_DIR_PATH/WhatToTest.zh-Hans.txt | ||
fi |
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