diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f031734..4173a47 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -50,15 +50,15 @@ jobs: - name: Build APK run: ./gradlew assembleSignedRelease - # - name: Upload APK - # uses: actions/upload-artifact@v4 - # with: - # name: app.apk - # path: app/build/outputs/apk/release/app-release.apk - - name: Release uses: softprops/action-gh-release@v2 if: startsWith(github.ref, 'refs/tags/') with: files: | - app/build/outputs/apk/signedRelease/app-release.apk \ No newline at end of file + app/build/outputs/apk/signedRelease/app-signedRelease.apk + prerelease: | + if [[ ${{ github.ref }} =~ ^refs/tags/[0-9]+\.[0-9]+[a-z]+$ ]]; then + echo "false" + else + echo "true" + fi \ No newline at end of file