diff --git a/.gitea/workflows/release-app.yaml b/.gitea/workflows/release-app.yaml index 6a16afa..13c683b 100644 --- a/.gitea/workflows/release-app.yaml +++ b/.gitea/workflows/release-app.yaml @@ -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 diff --git a/README.md b/README.md index bfd7cff..fd91a3e 100644 --- a/README.md +++ b/README.md @@ -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