Use versioned TDLib releases from shinoa-tdlib
All checks were successful
Release App / release-app (push) Successful in 1m1s

This commit is contained in:
2026-04-24 14:42:41 +03:00
parent 7b35201799
commit c39071b61a
2 changed files with 8 additions and 4 deletions

View File

@@ -16,7 +16,8 @@ jobs:
RELEASE_TAG: latest
ARCHIVE_NAME: shinoa-linux-x86_64.tar.gz
CHECKSUM_NAME: shinoa-linux-x86_64.tar.gz.sha256
TDLIB_ARCHIVE_URL: ${{ gitea.server_url }}/${{ gitea.repository }}/releases/download/tdlib/tdlib-linux-x86_64.tar.gz
TDLIB_RELEASE_TAG: v1.8.63
TDLIB_ARCHIVE_URL: https://git.mshq.dev/AxiFisk/shinoa-tdlib/releases/download/${{ env.TDLIB_RELEASE_TAG }}/tdlib-linux-x86_64.tar.gz
steps:
- name: Check out repository
uses: https://github.com/actions/checkout@v4

View File

@@ -64,7 +64,8 @@ archive plus checksum to the Gitea Generic Package Registry under the `tdlib` pa
It also refreshes a `latest/tdlib-latest.json` manifest with the newest published version.
The repository also includes [`.gitea/workflows/release-app.yaml`](.gitea/workflows/release-app.yaml),
which downloads a prebuilt TDLib bundle from this repository's `tdlib` release tag, builds a
which downloads a prebuilt TDLib bundle from the `shinoa-tdlib` repository using a pinned
version tag such as `v1.8.63`, builds a
rolling `latest` app release, and publishes an archive containing `usr/bin/shinoa` plus the
bundled `usr/lib/libtdjson.so*`. The root `PKGBUILD` installs that prebuilt release as
`shinoa-bin`.
@@ -78,8 +79,10 @@ cmake --install td-build
./scripts/package-tdlib.sh td-install tdlib-linux-x86_64.tar.gz
```
Upload `tdlib-linux-x86_64.tar.gz` to a release tagged `tdlib` in this repository. After that,
the `Release App` workflow can consume it and publish the app bundle.
Publish `tdlib-linux-x86_64.tar.gz` to the `shinoa-tdlib` repository under a versioned tag such
as `v1.8.63`. Then update `TDLIB_RELEASE_TAG` in
[`.gitea/workflows/release-app.yaml`](.gitea/workflows/release-app.yaml) and run the
`Release App` workflow.
## Keys