From bdbf44ddfcb58281748ae8b50592f2fa25896b33 Mon Sep 17 00:00:00 2001 From: ibo <41344259+sneazy-ibo@users.noreply.github.com> Date: Thu, 4 Jul 2024 00:31:33 +0200 Subject: [PATCH] feat: create release v2.0.6 --- .github/workflows/beta.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/beta.yml b/.github/workflows/beta.yml index c1c5aff1..d2d8a4fc 100644 --- a/.github/workflows/beta.yml +++ b/.github/workflows/beta.yml @@ -6,10 +6,14 @@ on: - dev paths-ignore: - '**/README.md' + tags: + - "v*.*.*" jobs: build: runs-on: ubuntu-latest + permissions: + contents: write env: CI: true SKIP_BUILD: false @@ -99,7 +103,7 @@ jobs: fi - name: Upload a Build Artifact - if: ${{ env.SKIP_BUILD != 'true' || github.repo == 'rebelonion/Dantotsu' }} + if: ${{ env.SKIP_BUILD != 'true' && github.repo == 'rebelonion/Dantotsu' }} uses: actions/upload-artifact@v4 with: name: Dantotsu @@ -109,9 +113,7 @@ jobs: - name: Create GitHub Release if: ${{ env.SKIP_BUILD != 'true' && github.repo != 'rebelonion/Dantotsu' }} - uses: softprops/action-gh-release@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + uses: softprops/action-gh-release@v2.0.6 with: files: app/build/outputs/apk/google/alpha/app-google-alpha.apk name: Alpha Build ${{ env.VERSION }} @@ -122,6 +124,9 @@ jobs: Changelog: ${{ env.COMMIT_LOG }} prerelease: true + generate_release_notes: true + fail_on_unmatched_files: true + make_latest: true - name: Upload APK to Discord and Telegram shell: bash