-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change-Id: If44e2b2766b07489af5b8152b54a66bb5953537d Signed-off-by: xiaoleGun <[email protected]>
- Loading branch information
Showing
4 changed files
with
16 additions
and
4 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
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 |
---|---|---|
|
@@ -252,14 +252,16 @@ generateOtaJson() { | |
} | ||
} | ||
|
||
# I use American server in China, so need it | ||
personal() { | ||
echo | ||
echo "--> $UP_GITHUB_RELEASE" | ||
echo | ||
cd $SD | ||
git config user.name "xiaoleGun" | ||
git config user.email "[email protected]" | ||
GITLATESTTAG=$(git describe --tags --abbrev=0) | ||
GITCHANGELOG=$(git log $GITLATESTTAG..HEAD --pretty=format:"%s") | ||
GITHUB_TOKEN=$2 | ||
assets=() | ||
for f in $BD/MikuUI-$VERSION-$VERSION_CODE-*.xz; do [ -f "$f" ] && assets+=(-a "$f"); done | ||
hub release create ${assets[@]} -m "Miku UI $VERSION v$VERSION_CODE | ||
|
@@ -314,8 +316,12 @@ generatePackages miku_treble_arm64_bgN arm64-ab -gapps | |
generatePackages miku_treble_a64_bvN a64-ab | ||
generatePackages miku_treble_a64_bgN a64-ab -gapps | ||
|
||
if [ $USER == xiaolegun ]; then | ||
generateOtaJson | ||
generateOtaJson | ||
|
||
if [ $1 == release ] && [ -z $2 ]; then | ||
echo "请预设Token" | ||
exit 2 | ||
else | ||
personal | ||
fi | ||
|
||
|