From b4487159ed6fe6784d5bc64ca67bdf3c5a048182 Mon Sep 17 00:00:00 2001 From: rebelonion <87634197+rebelonion@users.noreply.github.com> Date: Sat, 3 Feb 2024 21:14:40 -0600 Subject: [PATCH] fix: webhook --- .github/workflows/beta.yml | 2 +- app/.gitignore | 2 ++ app/alpha/output-metadata.json | 20 -------------------- 3 files changed, 3 insertions(+), 21 deletions(-) delete mode 100644 app/alpha/output-metadata.json diff --git a/.github/workflows/beta.yml b/.github/workflows/beta.yml index bcb607f2..b9ad2510 100644 --- a/.github/workflows/beta.yml +++ b/.github/workflows/beta.yml @@ -54,7 +54,7 @@ jobs: shell: bash run: | contentbody=$( jq -Rsa . <<< "${{ github.event.head_commit.message }}" ) - curl -F "payload_json={\"content\":\" Alpha-Build: <@719439449423085569> **${{ env.VERSION }}**\n\n${contentbody:1:-1}\"}" -F "dantotsu_debug=@app/build/outputs/apk/debug/app-debug.apk" ${{ secrets.DISCORD_WEBHOOK }} + curl -F "payload_json={\"content\":\" Alpha-Build: <@719439449423085569> **${{ env.VERSION }}**\n\n${contentbody:1:-1}\"}" -F "dantotsu_debug=@app/build/outputs/apk/alpha/app-alpha.apk" ${{ secrets.DISCORD_WEBHOOK }} - name: Delete Old Pre-Releases id: delete-pre-releases diff --git a/app/.gitignore b/app/.gitignore index 92118fcd..9dfb597a 100644 --- a/app/.gitignore +++ b/app/.gitignore @@ -1,4 +1,6 @@ /build /debug /debug/output-metadata.json +/alpha +/alpha/output-metadata.json /release \ No newline at end of file diff --git a/app/alpha/output-metadata.json b/app/alpha/output-metadata.json deleted file mode 100644 index 5a29bff1..00000000 --- a/app/alpha/output-metadata.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "version": 3, - "artifactType": { - "type": "APK", - "kind": "Directory" - }, - "applicationId": "ani.dantotsu.alpha", - "variantName": "alpha", - "elements": [ - { - "type": "SINGLE", - "filters": [], - "attributes": [], - "versionCode": 28450261, - "versionName": "2.1.0-alpha01", - "outputFile": "app-alpha.apk" - } - ], - "elementType": "File" -} \ No newline at end of file