Skip to content

Commit

Permalink
v1.2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
syspwda authored Mar 4, 2024
1 parent 728bd79 commit ed0bfef
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 5 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/module.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions module.prop
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit ed0bfef

Please sign in to comment.