Arch Builder INIT
This commit is contained in:
Executable
+12
@@ -0,0 +1,12 @@
|
||||
#!/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.
|
||||
Reference in New Issue
Block a user