Prepare for Mihon

This commit is contained in:
AntsyLich 2024-01-16 03:11:31 +06:00
parent 3e67a7af65
commit 513c18604a
No known key found for this signature in database
3 changed files with 31 additions and 32 deletions

View File

@ -1,11 +1,8 @@
blank_issues_enabled: false blank_issues_enabled: false
contact_links: contact_links:
- name: ⚠️ Application issue - name: ⚠️ Application issue
url: https://github.com/tachiyomiorg/tachiyomi/issues/new/choose url: https://github.com/mihonapp/mihon/issues/new/choose
about: Issues and requests about the app itself should be opened in the tachiyomi repository instead about: Issues and requests about the app itself should be opened in the mihon repository instead
- name: ⚠️ Extension/source issue - name: 🖥️ Mihon website
url: https://github.com/tachiyomiorg/tachiyomi-extensions/issues/new/choose url: https://mihon.app/help/
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/
about: Guides, troubleshooting, and answers to common questions about: Guides, troubleshooting, and answers to common questions

View File

@ -21,14 +21,14 @@ jobs:
- name: Clone Repository (Latest) - name: Clone Repository (Latest)
uses: actions/checkout@v4 uses: actions/checkout@v4
with: with:
repository: 'tachiyomiorg/tachiyomi' repository: 'mihonapp/mihon'
fetch-depth: 0 fetch-depth: 0
if: github.event.inputs.git-ref == '' if: github.event.inputs.git-ref == ''
- name: Clone Repository (Custom Ref) - name: Clone Repository (Custom Ref)
uses: actions/checkout@v4 uses: actions/checkout@v4
if: github.event.inputs.git-ref != '' if: github.event.inputs.git-ref != ''
with: with:
repository: 'tachiyomiorg/tachiyomi' repository: 'mihonapp/mihon'
fetch-depth: 0 fetch-depth: 0
ref: ${{ github.event.inputs.git-ref }} ref: ${{ github.event.inputs.git-ref }}
@ -66,7 +66,7 @@ jobs:
echo "COMMIT_LOGS<<{delimiter} echo "COMMIT_LOGS<<{delimiter}
$(curl -H "Accept: application/vnd.github.v3+json" \ $(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 '[.commits[]|{message:(.commit.message | split("\n")), username:.author.login}]' \
| jq -r '.[]|"- \(.message | first) (@\(.username))"') | jq -r '.[]|"- \(.message | first) (@\(.username))"')
{delimiter}" >> $GITHUB_ENV {delimiter}" >> $GITHUB_ENV
@ -88,35 +88,35 @@ jobs:
run: | run: |
set -e set -e
cp app/build/outputs/apk/standard/preview/app-standard-universal-preview-signed.apk tachiyomi-r${{ env.COMMIT_COUNT }}.apk cp app/build/outputs/apk/standard/preview/app-standard-universal-preview-signed.apk mihon-r${{ env.COMMIT_COUNT }}.apk
sha=`sha256sum tachiyomi-r${{ env.COMMIT_COUNT }}.apk | awk '{ print $1 }'` sha=`sha256sum mihon-r${{ env.COMMIT_COUNT }}.apk | awk '{ print $1 }'`
echo "APK_UNIVERSAL_SHA=$sha" >> $GITHUB_ENV 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 cp app/build/outputs/apk/standard/preview/app-standard-arm64-v8a-preview-signed.apk mihon-arm64-v8a-r${{ env.COMMIT_COUNT }}.apk
sha=`sha256sum tachiyomi-arm64-v8a-r${{ env.COMMIT_COUNT }}.apk | awk '{ print $1 }'` sha=`sha256sum mihon-arm64-v8a-r${{ env.COMMIT_COUNT }}.apk | awk '{ print $1 }'`
echo "APK_ARM64_V8A_SHA=$sha" >> $GITHUB_ENV 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 cp app/build/outputs/apk/standard/preview/app-standard-armeabi-v7a-preview-signed.apk mihon-armeabi-v7a-r${{ env.COMMIT_COUNT }}.apk
sha=`sha256sum tachiyomi-armeabi-v7a-r${{ env.COMMIT_COUNT }}.apk | awk '{ print $1 }'` sha=`sha256sum mihon-armeabi-v7a-r${{ env.COMMIT_COUNT }}.apk | awk '{ print $1 }'`
echo "APK_ARMEABI_V7A_SHA=$sha" >> $GITHUB_ENV 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 cp app/build/outputs/apk/standard/preview/app-standard-x86-preview-signed.apk mihon-x86-r${{ env.COMMIT_COUNT }}.apk
sha=`sha256sum tachiyomi-x86-r${{ env.COMMIT_COUNT }}.apk | awk '{ print $1 }'` sha=`sha256sum mihon-x86-r${{ env.COMMIT_COUNT }}.apk | awk '{ print $1 }'`
echo "APK_X86_SHA=$sha" >> $GITHUB_ENV 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 cp app/build/outputs/apk/standard/preview/app-standard-x86_64-preview-signed.apk mihon-x86_64-r${{ env.COMMIT_COUNT }}.apk
sha=`sha256sum tachiyomi-x86_64-r${{ env.COMMIT_COUNT }}.apk | awk '{ print $1 }'` sha=`sha256sum mihon-x86_64-r${{ env.COMMIT_COUNT }}.apk | awk '{ print $1 }'`
echo "APK_X86_64_SHA=$sha" >> $GITHUB_ENV echo "APK_X86_64_SHA=$sha" >> $GITHUB_ENV
- name: Create release - name: Create release
uses: softprops/action-gh-release@v1 uses: softprops/action-gh-release@v1
with: with:
tag_name: r${{ env.COMMIT_COUNT }} tag_name: r${{ env.COMMIT_COUNT }}
name: Tachiyomi Preview r${{ env.COMMIT_COUNT }} name: Mihon Preview r${{ env.COMMIT_COUNT }}
body: | body: |
### Commits ### 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 }} ${{ env.COMMIT_LOGS }}
@ -131,12 +131,14 @@ jobs:
| armeabi-v7a | ${{ env.APK_ARMEABI_V7A_SHA }} | armeabi-v7a | ${{ env.APK_ARMEABI_V7A_SHA }}
| x86 | ${{ env.APK_X86_SHA }} | | x86 | ${{ env.APK_X86_SHA }} |
| x86_64 | ${{ env.APK_X86_64_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: | files: |
tachiyomi-r${{ env.COMMIT_COUNT }}.apk mihon-r${{ env.COMMIT_COUNT }}.apk
tachiyomi-arm64-v8a-r${{ env.COMMIT_COUNT }}.apk mihon-arm64-v8a-r${{ env.COMMIT_COUNT }}.apk
tachiyomi-armeabi-v7a-r${{ env.COMMIT_COUNT }}.apk mihon-armeabi-v7a-r${{ env.COMMIT_COUNT }}.apk
tachiyomi-x86-r${{ env.COMMIT_COUNT }}.apk mihon-x86-r${{ env.COMMIT_COUNT }}.apk
tachiyomi-x86_64-r${{ env.COMMIT_COUNT }}.apk mihon-x86_64-r${{ env.COMMIT_COUNT }}.apk
draft: ${{ github.event.inputs.dry-run != '' }} draft: ${{ github.event.inputs.dry-run != '' }}
prerelease: false prerelease: false
env: env:

View File

@ -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/ To download the stable release, see https://mihon.app/download/