From ed0bfef8eae2c95c72f8d5e632d887da1d986180 Mon Sep 17 00:00:00 2001 From: BRAINSONTHECRUB <147397299+LittleDipshit@users.noreply.github.com> Date: Mon, 4 Mar 2024 14:17:08 +0100 Subject: [PATCH] v1.2.7 --- .github/workflows/module.yml | 16 +++++++++++++--- module.prop | 4 ++-- 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/.github/workflows/module.yml b/.github/workflows/module.yml index 9748b59..accb0cc 100644 --- a/.github/workflows/module.yml +++ b/.github/workflows/module.yml @@ -32,12 +32,22 @@ jobs: ID="$(get_prop id)" VERSION="$(get_prop version)" VERSIONCODE="$(get_prop versionCode)" - cat update.json | jq --arg vn $VERSION '. + {version: $vn}' - cat update.json | jq --arg vc $VERSIONCODE '. + {versionCode: $vc}' + ZIPURL="https://github.com/LittleDipshit/AntiAMTS-Magisk/releases/download/v$VERSION/$ID-v$VERSION-($VERSIONCODE).zip" + cat update.json | jq --arg vn $VERSION --arg vc $VERSIONCODE --arg zu $ZIPURL '. + {version: $vn, versionCode: $vc, zipUrl: $zu}' > update.json - name: Publish uses: softprops/action-gh-release@v1 with: - files: '*-v*-(*).zip' + files: *-v*-(*).zip env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + - name: Setup Git + run: | + git config --local user.email "github-actions[bot]@users.noreply.github.com" + git config --local user.name "github-actions[bot]" + - name: Commit Changes + run: | + git add . + git commit -m "Update update.json" || true + git push || true \ No newline at end of file diff --git a/module.prop b/module.prop index a824fd4..a57ee9c 100644 --- a/module.prop +++ b/module.prop @@ -1,7 +1,7 @@ id=amtsmagisk name=AntiAMTS for Magisk -version=1.2.6 -versionCode=126 +version=1.2.7 +versionCode=127 author=Der_Googler & Sierra Community description=AntiAMTS ist ein kostenloser AdBlocker, der von SierraDevoplers bereitgestellt wird. support=https://github.com/DerGoogler/AntiAMTS-Magisk