From a483d6226d817d3de6c264fb862103c7bf00f2be Mon Sep 17 00:00:00 2001 From: Louis Date: Fri, 23 Oct 2026 21:11:39 +0200 Subject: [PATCH] release.sh: push with the Gitea token Co-Authored-By: Claude Opus 5.5 --- packaging/release.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packaging/release.sh b/packaging/release.sh index cb8c030..b234ce8 100755 --- a/packaging/release.sh +++ b/packaging/release.sh @@ -27,7 +27,8 @@ sed -i "s/^__version__ = .*/__version__ = \"$VERSION\"/" k65studio/__init__.py sed -i "s/^pkgver=.*/pkgver=$VERSION/; s/^pkgrel=.*/pkgrel=1/" packaging/PKGBUILD git diff --quiet || git commit -qam "Release v$VERSION" git tag -a "v$VERSION" -m "v$VERSION" -git push -q origin main "v$VERSION" +AUTH="$(printf 'MrBlake:%s' "$TOKEN" | base64 -w0)" +git -c http.extraHeader="Authorization: Basic $AUTH" push -q origin main "v$VERSION" BUILD="$(mktemp -d)" trap 'rm -rf "$BUILD"' EXIT