Files
2026-09-06 13:36:55 +03:00

13 lines
448 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
version="${1:?version required}"
td_commit="${2:?tdlib commit required}"
sed -i -E "s/^pkgver=.*/pkgver=${version}/" PKGBUILD
sed -i -E "s/^_tdlib_commit=.*/_tdlib_commit='${td_commit}'/" PKGBUILD
# Release archives and tdlib tarballs are fetched by makepkg with SKIP hashes.
# The workflow records the upstream release tag and validates that the archive
# is reachable before starting the expensive build.