From 513c18604abdf367258351851aa88d13c6a9573f Mon Sep 17 00:00:00 2001 From: AntsyLich <59261191+AntsyLich@users.noreply.github.com> Date: Tue, 16 Jan 2024 03:11:31 +0600 Subject: [PATCH] Prepare for Mihon --- .github/ISSUE_TEMPLATE/config.yml | 11 +++----- .github/workflows/build_app.yml | 42 ++++++++++++++++--------------- README.md | 10 ++++---- 3 files changed, 31 insertions(+), 32 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index 97d0bb8..9b3be54 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -1,11 +1,8 @@ blank_issues_enabled: false contact_links: - name: ⚠️ Application issue - url: https://github.com/tachiyomiorg/tachiyomi/issues/new/choose - about: Issues and requests about the app itself should be opened in the tachiyomi repository instead - - name: ⚠️ Extension/source issue - url: https://github.com/tachiyomiorg/tachiyomi-extensions/issues/new/choose - about: Issues and requests for extensions and sources should be opened in the tachiyomi-extensions repository instead - - name: 🖥️ Tachiyomi website - url: https://tachiyomi.org/help/ + url: https://github.com/mihonapp/mihon/issues/new/choose + about: Issues and requests about the app itself should be opened in the mihon repository instead + - name: 🖥️ Mihon website + url: https://mihon.app/help/ about: Guides, troubleshooting, and answers to common questions diff --git a/.github/workflows/build_app.yml b/.github/workflows/build_app.yml index 0ecc1e0..8f9fb15 100644 --- a/.github/workflows/build_app.yml +++ b/.github/workflows/build_app.yml @@ -21,14 +21,14 @@ jobs: - name: Clone Repository (Latest) uses: actions/checkout@v4 with: - repository: 'tachiyomiorg/tachiyomi' + repository: 'mihonapp/mihon' fetch-depth: 0 if: github.event.inputs.git-ref == '' - name: Clone Repository (Custom Ref) uses: actions/checkout@v4 if: github.event.inputs.git-ref != '' with: - repository: 'tachiyomiorg/tachiyomi' + repository: 'mihonapp/mihon' fetch-depth: 0 ref: ${{ github.event.inputs.git-ref }} @@ -66,7 +66,7 @@ jobs: echo "COMMIT_LOGS<<{delimiter} $(curl -H "Accept: application/vnd.github.v3+json" \ - "https://api.github.com/repos/tachiyomiorg/tachiyomi/compare/$prev_release_sha...$current_sha" \ + "https://api.github.com/repos/mihonapp/mihon/compare/$prev_release_sha...$current_sha" \ | jq '[.commits[]|{message:(.commit.message | split("\n")), username:.author.login}]' \ | jq -r '.[]|"- \(.message | first) (@\(.username))"') {delimiter}" >> $GITHUB_ENV @@ -88,35 +88,35 @@ jobs: run: | set -e - cp app/build/outputs/apk/standard/preview/app-standard-universal-preview-signed.apk tachiyomi-r${{ env.COMMIT_COUNT }}.apk - sha=`sha256sum tachiyomi-r${{ env.COMMIT_COUNT }}.apk | awk '{ print $1 }'` + cp app/build/outputs/apk/standard/preview/app-standard-universal-preview-signed.apk mihon-r${{ env.COMMIT_COUNT }}.apk + sha=`sha256sum mihon-r${{ env.COMMIT_COUNT }}.apk | awk '{ print $1 }'` echo "APK_UNIVERSAL_SHA=$sha" >> $GITHUB_ENV - cp app/build/outputs/apk/standard/preview/app-standard-arm64-v8a-preview-signed.apk tachiyomi-arm64-v8a-r${{ env.COMMIT_COUNT }}.apk - sha=`sha256sum tachiyomi-arm64-v8a-r${{ env.COMMIT_COUNT }}.apk | awk '{ print $1 }'` + cp app/build/outputs/apk/standard/preview/app-standard-arm64-v8a-preview-signed.apk mihon-arm64-v8a-r${{ env.COMMIT_COUNT }}.apk + sha=`sha256sum mihon-arm64-v8a-r${{ env.COMMIT_COUNT }}.apk | awk '{ print $1 }'` echo "APK_ARM64_V8A_SHA=$sha" >> $GITHUB_ENV - cp app/build/outputs/apk/standard/preview/app-standard-armeabi-v7a-preview-signed.apk tachiyomi-armeabi-v7a-r${{ env.COMMIT_COUNT }}.apk - sha=`sha256sum tachiyomi-armeabi-v7a-r${{ env.COMMIT_COUNT }}.apk | awk '{ print $1 }'` + cp app/build/outputs/apk/standard/preview/app-standard-armeabi-v7a-preview-signed.apk mihon-armeabi-v7a-r${{ env.COMMIT_COUNT }}.apk + sha=`sha256sum mihon-armeabi-v7a-r${{ env.COMMIT_COUNT }}.apk | awk '{ print $1 }'` echo "APK_ARMEABI_V7A_SHA=$sha" >> $GITHUB_ENV - cp app/build/outputs/apk/standard/preview/app-standard-x86-preview-signed.apk tachiyomi-x86-r${{ env.COMMIT_COUNT }}.apk - sha=`sha256sum tachiyomi-x86-r${{ env.COMMIT_COUNT }}.apk | awk '{ print $1 }'` + cp app/build/outputs/apk/standard/preview/app-standard-x86-preview-signed.apk mihon-x86-r${{ env.COMMIT_COUNT }}.apk + sha=`sha256sum mihon-x86-r${{ env.COMMIT_COUNT }}.apk | awk '{ print $1 }'` echo "APK_X86_SHA=$sha" >> $GITHUB_ENV - cp app/build/outputs/apk/standard/preview/app-standard-x86_64-preview-signed.apk tachiyomi-x86_64-r${{ env.COMMIT_COUNT }}.apk - sha=`sha256sum tachiyomi-x86_64-r${{ env.COMMIT_COUNT }}.apk | awk '{ print $1 }'` + cp app/build/outputs/apk/standard/preview/app-standard-x86_64-preview-signed.apk mihon-x86_64-r${{ env.COMMIT_COUNT }}.apk + sha=`sha256sum mihon-x86_64-r${{ env.COMMIT_COUNT }}.apk | awk '{ print $1 }'` echo "APK_X86_64_SHA=$sha" >> $GITHUB_ENV - name: Create release uses: softprops/action-gh-release@v1 with: tag_name: r${{ env.COMMIT_COUNT }} - name: Tachiyomi Preview r${{ env.COMMIT_COUNT }} + name: Mihon Preview r${{ env.COMMIT_COUNT }} body: | ### Commits - https://github.com/tachiyomiorg/tachiyomi/compare/${{ env.PREV_RELEASE_SHA }}...${{ env.CURRENT_SHA }} + https://github.com/mihonapp/mihon/compare/${{ env.PREV_RELEASE_SHA }}...${{ env.CURRENT_SHA }} ${{ env.COMMIT_LOGS }} @@ -131,12 +131,14 @@ jobs: | armeabi-v7a | ${{ env.APK_ARMEABI_V7A_SHA }} | x86 | ${{ env.APK_X86_SHA }} | | x86_64 | ${{ env.APK_X86_64_SHA }} | + + If you are unsure which apk to download then go with mihon-r${{ env.COMMIT_COUNT }}.apk files: | - tachiyomi-r${{ env.COMMIT_COUNT }}.apk - tachiyomi-arm64-v8a-r${{ env.COMMIT_COUNT }}.apk - tachiyomi-armeabi-v7a-r${{ env.COMMIT_COUNT }}.apk - tachiyomi-x86-r${{ env.COMMIT_COUNT }}.apk - tachiyomi-x86_64-r${{ env.COMMIT_COUNT }}.apk + mihon-r${{ env.COMMIT_COUNT }}.apk + mihon-arm64-v8a-r${{ env.COMMIT_COUNT }}.apk + mihon-armeabi-v7a-r${{ env.COMMIT_COUNT }}.apk + mihon-x86-r${{ env.COMMIT_COUNT }}.apk + mihon-x86_64-r${{ env.COMMIT_COUNT }}.apk draft: ${{ github.event.inputs.dry-run != '' }} prerelease: false env: diff --git a/README.md b/README.md index f8fd32d..0e6ab4b 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ -# Tachiyomi app preview builds +# Mihon app preview builds -![Build job](https://github.com/tachiyomiorg/android-app-preview/workflows/Build%20job/badge.svg) [![Latest build](https://img.shields.io/github/v/release/tachiyomiorg/tachiyomi-preview.svg?maxAge=3600&label=Latest%20build)](https://github.com/tachiyomiorg/tachiyomi-preview/releases) +![Build job](https://github.com/mihonorg/android-app-preview/workflows/Build%20job/badge.svg) [![Latest build](https://img.shields.io/github/v/release/mihonapp/mihon-preview.svg?maxAge=3600&label=Latest%20build)](https://github.com/mihonapp/mihon-preview/releases) -This repository houses the preview builds for [Tachiyomi](https://github.com/inorichi/tachiyomi). +This repository houses the preview builds for [Mihon](https://github.com/mihonapp/mihon). -For downloads, see [Releases](https://github.com/tachiyomiorg/android-app-preview/releases). +For downloads, see [Releases](https://github.com/mihonorg/android-app-preview/releases). -To download the stable release, see https://tachiyomi.org/download/ \ No newline at end of file +To download the stable release, see https://mihon.app/download/