Skip to content

Commit

Permalink
更新workflows,customize.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
“NightRainMilkyWay” authored and “NightRainMilkyWay” committed Aug 26, 2024
1 parent 424125a commit faef529
Show file tree
Hide file tree
Showing 5 changed files with 99 additions and 89 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/Create Release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ jobs:
- name: update_version
run: |
sed -i "s/V[0-9]\.[0-9]\.[0-9]/$VERSION/" "$FILE"
sed -i "s/\"versionCode\": [0-9]*/\"versionCode\": $VERSION_CODE/" "$FILE"
sed -i "s/version=V[0-9]\.[0-9]\.[0-9]/version=$VERSION/" "./magisk/module.prop"
sed -i "s/versionCode\": [0-9]*,/versionCode\": $VERSION_CODE,/g" "$FILE"
sed -i "s/versionCode=[0-9]*/versionCode=$VERSION_CODE/" "./magisk/module.prop"
- name: Zip Module
Expand Down Expand Up @@ -67,9 +68,10 @@ jobs:
- name: Push
run: |
git checkout -b file
git add ${ZIP_FILENAME}_${VERSION}.zip changelog.md Tritium.json
rm -rf ./*.zip
git checkout main
git add -A
git commit -m "$VERSION"
git push -f origin file
git push -f origin main
4 changes: 2 additions & 2 deletions Tritium.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"versionCode": 240825,
"version": "V4.3.5",
"zipUrl": "https://file.tritium.nightrainmilkyway.cn/Magisk_v4.3.5.zip",
"changelog": "https://file.tritium.nightrainmilkyway.cn/changelog.md"
"zipUrl": "https://github.moeyy.xyz/https://github.com/TimeBreeze/Tritium/releases/download/V4.3.5/Magisk_V4.3.5.zip",
"changelog": "https://github.moeyy.xyz/https://github.com/TimeBreeze/Tritium/blob/main/Tritium.json"
}
4 changes: 3 additions & 1 deletion changelog.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
更新日志:
- 修复了一些Bug
- 修复无法通过模块管理器内更新
- 更新workflos打包环节
- 更新customize.sh
4 changes: 2 additions & 2 deletions config.env
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ CONFIG_ENV=config.env
ZIP_FILENAME=Magisk
CONFIG_NAME=configs
IS_PRERELEASE=false
VERSION=V4.3.5
VERSIONCODE=240825
VERSION=V4.3.6
VERSIONCODE=240830
FILE=Tritium.json
Loading

0 comments on commit faef529

Please sign in to comment.